CMake is the worse software development build platform, except when compared to all the others.
— Winston Churchill
Snippet
# Visualizzare tutte le variabili di CMake
get_cmake_property(_variableNames VARIABLES)
list (SORT _variableNames)
foreach (_variableName ${_variableNames})
message(STATUS "${_variableName}=${${_variableName}}")
endforeach()
# Includere dipendenze esterne che supportano CMake
include(FetchContent)
FetchContent_Declare(soplex
GIT_REPOSITORY https://github.com/scipopt/soplex
GIT_TAG v8.0.1
)
FetchContent_MakeAvailable(soplex)