Files
ox/src/nostalgia/player/CMakeLists.txt
T

37 lines
526 B
CMake

add_executable(
Nostalgia WIN32
app.cpp
)
# enable LTO
if(NOT WIN32)
set_property(TARGET Nostalgia PROPERTY INTERPROCEDURAL_OPTIMIZATION TRUE)
endif()
if(COMMAND OBJCOPY_FILE)
set_target_properties(Nostalgia
PROPERTIES
LINK_FLAGS ${LINKER_FLAGS}
COMPILER_FLAGS "-mthumb -mthumb-interwork"
)
OBJCOPY_FILE(Nostalgia)
#PADBIN_FILE(Nostalgia)
endif()
target_link_libraries(
Nostalgia
NostalgiaKeelModules
NostalgiaProfile
OlympicApplib
OxLogConn
)
install(
TARGETS
Nostalgia
DESTINATION
bin
)