]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/test/doc/snippet/dataset_1/CMakeLists.txt
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / test / doc / snippet / dataset_1 / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.8.11)
2 project(my_first_test)
3 enable_testing()
4
5 # not meant to be included in the documentation
6 set(BOOST_ROOT ${CMAKE_SOURCE_DIR}/../../../../../..)
7 message(STATUS "$BOOST_ROOT = ${BOOST_ROOT}")
8 # creates the executable
9 add_executable(test_executable test_file.cpp)
10 # indicates the include paths
11 target_include_directories(test_executable PRIVATE ${BOOST_ROOT})
12 # indicates the link paths
13 target_link_libraries(test_executable ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
14
15 # declares a test with our executable
16 add_test(NAME test1 COMMAND test_executable)
17
18