summaryrefslogtreecommitdiffstatshomepage
path: root/test/examples/simple/CMakeLists.txt
blob: d15fdbe26ffbeab9127268c36b4adc1705531530 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# oldstable as of May '26.
cmake_minimum_required(VERSION 3.25)

project(example_simple)

add_library(baz SHARED baz.cpp)
target_include_directories(baz PUBLIC .)

add_executable(foo foo.cpp)
target_link_libraries(foo PRIVATE baz)

install(TARGETS foo baz RUNTIME DESTINATION bin LIBRARY DESTINATION lib)