mirror of
https://github.com/aap/librw.git
synced 2026-04-19 13:03:09 +01:00
cmake: merge librw_skeleton_imgui in librw_skeleton
This commit is contained in:
@@ -51,8 +51,11 @@ if(NOT COMMAND librw_platform_target)
|
||||
endfunction()
|
||||
endif()
|
||||
|
||||
include(CMakeDependentOption)
|
||||
|
||||
option(LIBRW_TOOLS "Build librw tools" ON)
|
||||
option(LIBRW_INSTALL "Install librw files" OFF)
|
||||
cmake_dependent_option(LIBRW_EXAMPLES "Build librw examples" ON "NOT LIBRW_PLATFORM_PS2;NOT LIBRW_PLATFORM_NULL" OFF)
|
||||
|
||||
if(LIBRW_INSTALL)
|
||||
include(GNUInstallDirs)
|
||||
@@ -61,12 +64,12 @@ endif()
|
||||
|
||||
add_subdirectory(src)
|
||||
|
||||
if(LIBRW_TOOLS)
|
||||
if(NOT LIBRW_PLATFORM_PS2 AND NOT LIBRW_PLATFORM_NULL)
|
||||
add_subdirectory(skeleton)
|
||||
|
||||
add_subdirectory(tools)
|
||||
endif()
|
||||
|
||||
add_subdirectory(tools)
|
||||
|
||||
if(LIBRW_INSTALL)
|
||||
include(CMakePackageConfigHelpers)
|
||||
configure_package_config_file(cmake/librw-config.cmake.in librw-config.cmake
|
||||
|
||||
Reference in New Issue
Block a user