myx/MyxCMake/backports/CheckIPOSupported/CMakeLists-CXX.txt.in
2022-10-09 01:01:31 +03:00

9 lines
226 B
Plaintext

cmake_minimum_required(VERSION "@CMAKE_VERSION@")
project("@TRY_COMPILE_PROJECT_NAME@" LANGUAGES CXX)
cmake_policy(SET CMP0069 NEW)
add_library(foo foo.cpp)
add_executable(boo main.cpp)
target_link_libraries(boo PUBLIC foo)