You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # Initialize CMake ################################################################################
-
- CMake_Minimum_Required ( VERSION 3.12.0 FATAL_ERROR )
-
- # Set CMAKE_BUILD_TYPE
- If ( NOT CMAKE_BUILD_TYPE )
- Set ( CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build!" FORCE )
- EndIf ( NOT CMAKE_BUILD_TYPE )
- Set_Property ( CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS Debug Release RelWithDebInfo MinSizeRel )
-
- # Set CMAKE_MODULE_PATH
- If ( EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/cmake/" )
- Set ( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
- "${CMAKE_CURRENT_SOURCE_DIR}/cmake/" )
-
- EndIf ( )
- If ( EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/cmake/" )
- Set ( CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
- "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" )
-
- EndIf ( )
-
- # Projects ########################################################################################
-
- Message ( WARNING "Please configure the subprojects of this project group!" )
- Add_SubDirectory ( ${CMAKE_CURRENT_SOURCE_DIR}/projects/libhelloworld )
- Add_SubDirectory ( ${CMAKE_CURRENT_SOURCE_DIR}/projects/helloworld )
|