16 lines
493 B
CMake
16 lines
493 B
CMake
|
cmake_minimum_required(VERSION 3.3)
|
||
|
project(test_build)
|
||
|
|
||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
|
||
|
|
||
|
set(UDEF_1 UserDefinedTypes1)
|
||
|
set(UDEF_1_SOURCE 04_UDEF/main_04_UDEF_e.cpp)
|
||
|
add_executable(${UDEF_1} ${UDEF_1_SOURCE})
|
||
|
|
||
|
set(UDEF_2 UserDefinedTypes2)
|
||
|
set(UDEF_2_SOURCE 04_UDEF/main_04_UDEF_a.cpp)
|
||
|
add_executable(${UDEF_2} ${UDEF_2_SOURCE})
|
||
|
|
||
|
set(UDEF_TESTAT UserDefinedTypesTestat)
|
||
|
set(UDEF_TESTAT_SOURCE 04_UDEF/Testat/Testat.cpp)
|
||
|
add_executable(${UDEF_TESTAT} ${UDEF_TESTAT_SOURCE})
|