diff options
author | Brad King <brad.king@kitware.com> | 2008-01-29 13:03:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-01-29 13:03:43 (GMT) |
commit | e5fce58da3e44b1c7615e64ff276f0170b83b08b (patch) | |
tree | 0cd268d56ee2700daa4486a7603697926720ab89 /Tests | |
parent | 3630a4e4e726ae7d6a19d4e13ef276e33f2def75 (diff) | |
download | CMake-e5fce58da3e44b1c7615e64ff276f0170b83b08b.zip CMake-e5fce58da3e44b1c7615e64ff276f0170b83b08b.tar.gz CMake-e5fce58da3e44b1c7615e64ff276f0170b83b08b.tar.bz2 |
BUG: Custom command driver outputs must be SYMBOLIC since no corresponding file is created.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/ExportImport/CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Tests/ExportImport/CMakeLists.txt b/Tests/ExportImport/CMakeLists.txt index 4795e68..3fb2dd3 100644 --- a/Tests/ExportImport/CMakeLists.txt +++ b/Tests/ExportImport/CMakeLists.txt @@ -6,6 +6,10 @@ add_custom_command( COMMAND ${CMAKE_COMMAND} -E remove_directory ${ExportImport_BINARY_DIR}/Root ) add_custom_target(CleanupTarget ALL DEPENDS ${ExportImport_BINARY_DIR}/CleanupProject) +set_property( + SOURCE ${ExportImport_BINARY_DIR}/CleanupProject + PROPERTY SYMBOLIC 1 + ) # Build and install the exporter. if(CMAKE_CONFIGURATION_TYPES) @@ -35,6 +39,10 @@ add_custom_command( ) add_custom_target(ExportTarget ALL DEPENDS ${ExportImport_BINARY_DIR}/ExportProject) add_dependencies(ExportTarget CleanupTarget) +set_property( + SOURCE ${ExportImport_BINARY_DIR}/ExportProject + PROPERTY SYMBOLIC 1 + ) # Build and install the importer. if(CMAKE_CONFIGURATION_TYPES) @@ -63,6 +71,10 @@ add_custom_command( ) add_custom_target(ImportTarget ALL DEPENDS ${ExportImport_BINARY_DIR}/ImportProject) add_dependencies(ImportTarget ExportTarget) +set_property( + SOURCE ${ExportImport_BINARY_DIR}/ImportProject + PROPERTY SYMBOLIC 1 + ) add_executable(ExportImport main.c) add_dependencies(ExportImport ImportTarget) |