BUG: fix test to list generate dheader
This commit is contained in:
parent
f7c1723135
commit
6ccc18bc26
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue