not working: check
This commit is contained in:
@ -8,7 +8,7 @@ file(GLOB LIB_SOURCES "lib/chess/*.c")
|
||||
add_executable(genMoveConsts src/generateCode/moveConsts.c ${LIB_SOURCES})
|
||||
add_custom_command(
|
||||
OUTPUT moveConsts.h # Output file from code generation
|
||||
COMMAND genMoveConsts > src/chess/generated/moveConsts.h
|
||||
COMMAND genMoveConsts > include/chess/generated/moveConsts.h
|
||||
DEPENDS genMoveConsts # Depends on the code generation executable
|
||||
)
|
||||
add_custom_target(generateCode DEPENDS moveConsts.h)
|
||||
|
||||
Reference in New Issue
Block a user