summaryrefslogtreecommitdiffstats
path: root/Modules/CheckIPOSupported/CMakeLists-CXX.txt.in
blob: 4b55c70f97c9473cdeacc75a524650b786b70155 (plain)
1
2
3
4
5
6
7
8
cmake_minimum_required(VERSION "@CMAKE_VERSION@")
project("@TRY_COMPILE_PROJECT_NAME@" LANGUAGES CXX)

# TODO: IPO policy

add_library(foo foo.cpp)
add_executable(boo main.cpp)
target_link_libraries(boo PUBLIC foo)