summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_sources/RelativePathInSubdirGenEx.cmake
blob: 9afcea56aa1c23b81fb027b2b01896bd8b2be287 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)