not working: check

This commit is contained in:
2024-03-17 22:04:13 +01:00
parent 2e813e5744
commit dddc0a4e86
10 changed files with 202 additions and 83 deletions

View File

@ -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)