mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
cmake: collection of fixes
This commit is contained in:
@@ -13,11 +13,11 @@ set(AUTOGEN_PY_FILES
|
||||
function(fdr_autogen type out)
|
||||
add_custom_command (
|
||||
COMMENT "AUTOGEN ${out}"
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${out}
|
||||
COMMAND ${PYTHON} ${CMAKE_CURRENT_SOURCE_DIR}/autogen.py ${type} > ${CMAKE_CURRENT_BINARY_DIR}/${out}
|
||||
OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/${out}"
|
||||
COMMAND ${PYTHON} "${CMAKE_CURRENT_SOURCE_DIR}/autogen.py" ${type} > "${CMAKE_CURRENT_BINARY_DIR}/${out}"
|
||||
DEPENDS ${AUTOGEN_PY_FILES}
|
||||
)
|
||||
add_custom_target(autogen_${type} DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${out})
|
||||
add_custom_target(autogen_${type} DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/${out}")
|
||||
endfunction(fdr_autogen)
|
||||
|
||||
#now build the functions
|
||||
|
Reference in New Issue
Block a user