Add cmake config file
Big thanks for @madebr who made all work
This commit is contained in:
11
tools/CMakeLists.txt
Normal file
11
tools/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
if(NOT LIBRW_PLATFORM_PS2)
|
||||
add_subdirectory(dumprwtree)
|
||||
endif()
|
||||
|
||||
if(TARGET librw_skeleton_imgui)
|
||||
add_subdirectory(imguitest)
|
||||
endif()
|
||||
|
||||
if(LIBRW_PLATFORM_PS2)
|
||||
add_subdirectory(ps2test)
|
||||
endif()
|
14
tools/dumprwtree/CMakeLists.txt
Normal file
14
tools/dumprwtree/CMakeLists.txt
Normal file
@ -0,0 +1,14 @@
|
||||
add_executable(dumprwtree
|
||||
dumprwtree.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(dumprwtree
|
||||
PUBLIC
|
||||
librw
|
||||
)
|
||||
|
||||
if(LIBRW_INSTALL)
|
||||
install(TARGETS dumprwtree
|
||||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||||
)
|
||||
endif()
|
15
tools/imguitest/CMakeLists.txt
Normal file
15
tools/imguitest/CMakeLists.txt
Normal file
@ -0,0 +1,15 @@
|
||||
add_executable(imguitest WIN32
|
||||
main.cpp
|
||||
)
|
||||
|
||||
target_link_libraries(imguitest
|
||||
PUBLIC
|
||||
librw
|
||||
librw_skeleton_imgui
|
||||
)
|
||||
|
||||
if(LIBRW_INSTALL)
|
||||
install(TARGETS imguitest
|
||||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||||
)
|
||||
endif()
|
Reference in New Issue
Block a user