BUG: fix test to list generate dheader

This commit is contained in:
Ken Martin 2006-03-24 12:20:46 -05:00
parent f7c1723135
commit 6ccc18bc26
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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)