blob: 5a3b8ee326ac47a5b24e63624f14662d491127f8 (
plain)
1
2
3
4
5
6
7
8
|
cmake_minimum_required(VERSION "@CMAKE_VERSION@")
project("@TRY_COMPILE_PROJECT_NAME@" LANGUAGES C)
cmake_policy(SET CMP0069 NEW)
add_library(foo foo.c)
add_executable(boo main.c)
target_link_libraries(boo PUBLIC foo)
|