mirror of
https://github.com/aaru-dps/aaruremote.git
synced 2025-12-16 19:24:37 +00:00
12 lines
422 B
CMake
12 lines
422 B
CMake
project(dicremote-wii C)
|
|
|
|
if (NOT WII)
|
|
return()
|
|
endif ()
|
|
|
|
set(PLATFORM_SOURCES wii.c hello.c network.c wii.h list_devices.c)
|
|
|
|
add_executable(dicremote-wii ${PLATFORM_SOURCES})
|
|
set_target_properties(dicremote-wii PROPERTIES LINK_FLAGS -L$ENV{DEVKITPRO}/libogc/lib/wii/)
|
|
set_target_properties(dicremote-wii PROPERTIES OUTPUT_NAME dicremote.elf)
|
|
target_link_libraries(dicremote-wii dicremotecore -lwiiuse -lbte -logc -lm) |