cmake: update to the new eolian bin syntax

This commit is contained in:
Marcel Hollerbach 2016-10-07 16:16:32 +02:00
parent 797e417d1e
commit 5668fc1db7
1 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
macro(_rule_eox file include deps)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${file}.x
COMMAND eolian_gen ${include} --gc -o ${CMAKE_CURRENT_SOURCE_DIR}/${file}.x ${CMAKE_CURRENT_SOURCE_DIR}/${file}
COMMAND eolian_gen ${include} -g c -o c:${CMAKE_CURRENT_SOURCE_DIR}/${file}.x ${CMAKE_CURRENT_SOURCE_DIR}/${file}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${file}
DEPENDS ${deps}
)
@ -19,7 +19,7 @@ endmacro()
macro(_rule_eoh file include deps)
add_custom_command(
OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/${file}.h
COMMAND eolian_gen ${include} --gh -o ${CMAKE_CURRENT_SOURCE_DIR}/${file}.h ${CMAKE_CURRENT_SOURCE_DIR}/${file}
COMMAND eolian_gen ${include} -g h -o h:${CMAKE_CURRENT_SOURCE_DIR}/${file}.h ${CMAKE_CURRENT_SOURCE_DIR}/${file}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/${file}
DEPENDS ${deps}
)