You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/Tests/RunCMake/target_sources/RelativePathInSubdirGenEx.c...

12 lines
309 B

cmake_policy(SET CMP0076 NEW)
enable_language(CXX)
add_library(genexlib)
add_subdirectory(RelativePathInSubdirGenEx)
get_property(genexlib_sources TARGET genexlib PROPERTY SOURCES)
message(STATUS "genexlib: ${genexlib_sources}")
add_executable(genexmain main.cpp)
target_link_libraries(genexmain genexlib)