2020-10-27 00:41:07 +01:00
|
|
|
add_executable(imguitest WIN32
|
|
|
|
main.cpp
|
2020-12-03 18:11:55 +01:00
|
|
|
)
|
2020-10-27 00:41:07 +01:00
|
|
|
|
|
|
|
target_link_libraries(imguitest
|
|
|
|
PUBLIC
|
|
|
|
librw
|
|
|
|
librw_skeleton_imgui
|
2020-12-03 18:11:55 +01:00
|
|
|
)
|
2020-10-27 00:41:07 +01:00
|
|
|
|
|
|
|
if(LIBRW_INSTALL)
|
|
|
|
install(TARGETS imguitest
|
|
|
|
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
2020-12-03 18:11:55 +01:00
|
|
|
)
|
2020-10-27 00:41:07 +01:00
|
|
|
endif()
|
2021-06-17 15:44:20 +02:00
|
|
|
|
|
|
|
if(NINTENDO_SWITCH)
|
2021-06-17 23:44:07 +02:00
|
|
|
nx_generate_nacp(imguitest.nacp
|
2021-06-17 15:44:20 +02:00
|
|
|
NAME "librw imguitest"
|
2021-06-17 23:44:07 +02:00
|
|
|
AUTHOR "${librw_AUTHOR}"
|
|
|
|
VERSION "${librw_VERSION}"
|
2021-06-17 15:44:20 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
nx_create_nro(imguitest
|
|
|
|
NACP imguitest.nacp
|
|
|
|
)
|
|
|
|
|
|
|
|
if(LIBRW_INSTALL)
|
|
|
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/imguitest.nro"
|
|
|
|
DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
endif()
|