summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetSources/RelativePathInSubdirGenEx.cmake
blob: 1cdc2a78521e7c98fb7e44cbf862a3216663fa28 (plain)
1
2
3
4
5
6
7
8
9
10
cmake_policy(SET CMP0076 NEW)

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)