From e5fce58da3e44b1c7615e64ff276f0170b83b08b Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 29 Jan 2008 08:03:43 -0500 Subject: BUG: Custom command driver outputs must be SYMBOLIC since no corresponding file is created. --- Tests/ExportImport/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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) -- cgit v0.12