fixing cmake bs

This commit is contained in:
Till Wübbers
2025-03-15 23:33:58 +01:00
parent a5e32c414e
commit a0af22cea6
4 changed files with 6 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ target_include_directories(PuzGameEngine PUBLIC dependency/tracy/public/)
# Game
add_custom_command(
COMMAND "${CMAKE_BINARY_DIR}/minidef.exe" "${CMAKE_SOURCE_DIR}/game/mini.def" "${CMAKE_SOURCE_DIR}/gen/"
COMMAND "${CMAKE_SOURCE_DIR}/../tools/minidef.exe" "${CMAKE_SOURCE_DIR}/game/mini.def" "${CMAKE_SOURCE_DIR}/gen/"
DEPENDS "${CMAKE_SOURCE_DIR}/game/mini.def"
OUTPUT "${CMAKE_SOURCE_DIR}/gen/Generated.h" "${CMAKE_SOURCE_DIR}/gen/Generated.cpp"
COMMENT "Genrating from minidef"