mirror of
https://github.com/wiiu-env/wut.git
synced 2024-12-13 15:51:52 +01:00
8af0ffe9c7
The old makefile solution will still be around on branch "make".
13 lines
337 B
CMake
13 lines
337 B
CMake
project(elf2rpl)
|
|
|
|
file(GLOB_RECURSE SOURCE_FILES *.cpp)
|
|
file(GLOB_RECURSE HEADER_FILES *.h)
|
|
|
|
add_executable(elf2rpl ${SOURCE_FILES} ${HEADER_FILES})
|
|
set_target_properties(elf2rpl PROPERTIES FOLDER tools)
|
|
|
|
target_link_libraries(elf2rpl PRIVATE
|
|
${ZLIB_LINK})
|
|
|
|
install(TARGETS elf2rpl RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}/bin")
|