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