if
-statements) and repetition (e.g., for
-statements) statements have an unfamiliar syntaxcmake --help
shows a list of Generatorsctest
, cpack
make
nmake
cmake
Ant
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
set(CMAKE_CXX_STANDARD 17)
target_compile_features(${TARGET_NAME} PRIVATE cxx_std_17)
make install
make install/strip
file(DOWNLOAD ...)
--preset
. Much of the specific build configuration has moved from the CMakeLists.txt into this file.--preset
. It is not committed to the repository, and it is developer-specific.find_package(srcML)
(as with find_package(LibXml2 REQUIRED)
)vcpkg
is to easily allow Windows developers to use open-source libraries in their applications. Integrates easily into CMake builds.File Type | File Number | LOC |
---|---|---|
C++ files, C files, ANTLR files | 200 (24%) | 48 KLOC (38%) |
Build Files | 40 (5%) | 3 KLOC (2%) |
Other | 525 (70%) | 75 KLOC (60%) |
Total | 768 (100%) | 126 KLOC (100%) |