Automatically rebuild bootDll when compiling marioparty4
This commit is contained in:
parent
54d85f487c
commit
d19750362c
3 changed files with 7 additions and 12 deletions
|
|
@ -119,6 +119,11 @@ else ()
|
|||
target_compile_options(dol PRIVATE "-fvisibility=default")
|
||||
endif()
|
||||
|
||||
add_executable(marioparty4 src/port/portmain.c)
|
||||
target_compile_definitions(marioparty4 PRIVATE TARGET_PC VERSION=${VERSION})
|
||||
target_include_directories(marioparty4 PRIVATE include)
|
||||
target_link_libraries(marioparty4 PRIVATE dol aurora::main)
|
||||
|
||||
add_library(bootDll SHARED src/REL/bootDll/main.c src/REL/bootDll/language.c)
|
||||
target_compile_definitions(bootDll PRIVATE TARGET_PC VERSION=${VERSION})
|
||||
target_include_directories(bootDll PRIVATE include build/GMPE01_00/include)
|
||||
|
|
@ -128,8 +133,4 @@ else ()
|
|||
endif()
|
||||
set(CMAKE_SUPPORT_WINDOWS_EXPORT_ALL_SYMBOLS OFF)
|
||||
target_link_libraries(bootDll PRIVATE dol musyx)
|
||||
|
||||
add_executable(marioparty4 src/port/portmain.c)
|
||||
target_compile_definitions(marioparty4 PRIVATE TARGET_PC VERSION=${VERSION})
|
||||
target_include_directories(marioparty4 PRIVATE include)
|
||||
target_link_libraries(marioparty4 PRIVATE dol aurora::main)
|
||||
add_dependencies(marioparty4 bootDll)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue