ENH: some fixes

This commit is contained in:
Ken Martin
2005-11-10 15:13:54 -05:00
parent b94d785df9
commit fed6dae8e9
6 changed files with 8 additions and 1 deletions

View File

@@ -1,11 +1,13 @@
# first we add the executable that generates the table
add_executable(MakeTable MakeTable.cxx)
get_target_property(MakeTableLocation MakeTable LOCATION)
# add the command to generate the source code
add_custom_command (
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/Table.h
DEPENDS MakeTable
COMMAND MakeTable
COMMAND ${MakeTableLocation}
ARGS ${CMAKE_CURRENT_BINARY_DIR}/Table.h
)