25 lines
704 B
CMake
25 lines
704 B
CMake
include(cmake/targets/dolphin.cmake)
|
|
|
|
target_compile_definitions(${DUSK_LIBRARY_TARGET_NAME} PUBLIC
|
|
DUSK_GAMECUBE
|
|
)
|
|
|
|
# Link libraries
|
|
target_link_libraries(${DUSK_LIBRARY_TARGET_NAME} PRIVATE
|
|
# bba
|
|
)
|
|
|
|
# ISO post-build: produce NTSC-J, NTSC-U and PAL disc images
|
|
if(DUSK_DOLPHIN_BUILD_TYPE STREQUAL "ISO")
|
|
add_custom_command(TARGET ${DUSK_BINARY_TARGET_NAME} POST_BUILD
|
|
COMMAND ${Python3_EXECUTABLE}
|
|
"${CMAKE_SOURCE_DIR}/tools/makedolphiniso.py"
|
|
"GCN"
|
|
"${DUSK_BINARY_TARGET_NAME_DOL}"
|
|
"${DUSK_ASSETS_ZIP}"
|
|
"${DUSK_GAME_NAME}"
|
|
"${DUSK_BUILD_DIR}"
|
|
COMMENT "Building GameCube ISO images (NTSC-J, NTSC-U, PAL)"
|
|
)
|
|
endif()
|