diff options
author | Ken Martin <ken.martin@kitware.com> | 2006-03-24 17:20:46 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2006-03-24 17:20:46 (GMT) |
commit | 6ccc18bc2673befd66d62c472c1a4ea4bf60f5aa (patch) | |
tree | 67ab7d70b8df70875fefec7bf6bd154d2dfa80e8 | |
parent | f7c1723135f140eaac1ee02c31c0339761778f22 (diff) | |
download | CMake-6ccc18bc2673befd66d62c472c1a4ea4bf60f5aa.zip CMake-6ccc18bc2673befd66d62c472c1a4ea4bf60f5aa.tar.gz CMake-6ccc18bc2673befd66d62c472c1a4ea4bf60f5aa.tar.bz2 |
BUG: fix test to list generate dheader
-rw-r--r-- | Tests/CustomCommand/CMakeLists.txt | 1 | ||||
-rw-r--r-- | Tests/CustomCommand/GeneratedHeader/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Tests/CustomCommand/CMakeLists.txt b/Tests/CustomCommand/CMakeLists.txt index 3f7a999..f62be0e 100644 --- a/Tests/CustomCommand/CMakeLists.txt +++ b/Tests/CustomCommand/CMakeLists.txt @@ -142,6 +142,7 @@ ADD_CUSTOM_COMMAND(OUTPUT ${PROJECT_BINARY_DIR}/foo.c # add the library ADD_EXECUTABLE(CustomCommand + ${PROJECT_BINARY_DIR}/foo.h ${PROJECT_BINARY_DIR}/foo.c ${PROJECT_BINARY_DIR}/wrapped.c ${PROJECT_BINARY_DIR}/generated.c diff --git a/Tests/CustomCommand/GeneratedHeader/CMakeLists.txt b/Tests/CustomCommand/GeneratedHeader/CMakeLists.txt index 16d0ca4..2d47d87 100644 --- a/Tests/CustomCommand/GeneratedHeader/CMakeLists.txt +++ b/Tests/CustomCommand/GeneratedHeader/CMakeLists.txt @@ -9,5 +9,5 @@ ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/generated.h ${CMAKE_CURRENT_BINARY_DIR}/generated.h ) -ADD_LIBRARY(GeneratedHeader main.cpp) +ADD_LIBRARY(GeneratedHeader main.cpp ${CMAKE_CURRENT_BINARY_DIR}/generated.h) |