2016-05-29 21:48:46 +00:00
|
|
|
cmake_minimum_required(VERSION 2.8)
|
2020-01-25 03:54:03 +00:00
|
|
|
project(example)
|
|
|
|
|
2015-11-30 22:26:06 +00:00
|
|
|
include_directories(..)
|
2016-06-07 08:50:47 +00:00
|
|
|
|
|
|
|
if(MSVC)
|
|
|
|
add_compile_options(${cxx11_options} /W3)
|
|
|
|
else()
|
|
|
|
add_compile_options(${cxx11_options})
|
|
|
|
endif()
|
2015-11-30 22:26:06 +00:00
|
|
|
|
|
|
|
add_executable(calc calc.cc)
|
2016-06-07 08:29:45 +00:00
|
|
|
target_link_libraries(calc ${add_link_deps})
|
2015-11-30 22:26:06 +00:00
|
|
|
|
|
|
|
add_executable(calc2 calc2.cc)
|
2016-06-07 08:29:45 +00:00
|
|
|
target_link_libraries(calc2 ${add_link_deps})
|
2015-11-30 22:26:06 +00:00
|
|
|
|
|
|
|
add_executable(calc3 calc3.cc)
|
2016-06-07 08:29:45 +00:00
|
|
|
target_link_libraries(calc3 ${add_link_deps})
|
2020-02-07 16:55:21 +00:00
|
|
|
|
|
|
|
add_executable(calc4 calc4.cc)
|
|
|
|
target_link_libraries(calc4 ${add_link_deps})
|
|
|
|
|
|
|
|
add_executable(calc5 calc5.cc)
|
|
|
|
target_link_libraries(calc5 ${add_link_deps})
|