Skip to content

Commit

Permalink
Adding debug build
Browse files Browse the repository at this point in the history
  • Loading branch information
myst6re committed Feb 2, 2025
1 parent b3ffaf0 commit a933f69
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions deploy/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,10 @@ if(WIN32)
endif()
if(MINGW)
# libff7tkXxx.dll
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
list(TRANSFORM FF7TK_DEPENDS REPLACE ".+" "${_ff7tk_ROOT}/debug/bin/lib\\0.dll")
else()
list(TRANSFORM FF7TK_DEPENDS REPLACE ".+" "${_ff7tk_ROOT}/bin/lib\\0.dll")
endif()
list(TRANSFORM FF7TK_DEPENDS REPLACE ".+" "${_ff7tk_ROOT}/bin/lib\\0.dll")
else()
# ff7tkXxx.dll
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
list(TRANSFORM FF7TK_DEPENDS REPLACE ".+" "${_ff7tk_ROOT}/debug/bin/\\0.dll")
else()
list(TRANSFORM FF7TK_DEPENDS REPLACE ".+" "${_ff7tk_ROOT}/bin/\\0.dll")
endif()
list(TRANSFORM FF7TK_DEPENDS REPLACE ".+" "${_ff7tk_ROOT}/bin/\\0.dll")
endif()
install(FILES ${FF7TK_DEPENDS} DESTINATION ".")
endif()
Expand Down

0 comments on commit a933f69

Please sign in to comment.