remove examples support

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@482 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-23 17:50:24 +00:00
parent dabacb063d
commit 1bf872088c
4 changed files with 0 additions and 110 deletions

View File

@@ -15,7 +15,6 @@ endif()
option(CLASSIC "Use classic theme" OFF)
option(USE_STB_IMAGE "Use stb_image" ON)
option(USE_STB_TRUETYPE "Use stb_truetype" ON)
option(BUILD_EXAMPLES "Build examples" OFF)
file(
GLOB
@@ -103,8 +102,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Windows")
USE_GDI
)
list(APPEND LIBRARIES gdi32)
list(APPEND GL_LIBRARIES opengl32 glu32)
else()
find_package(PkgConfig)
pkg_check_modules(X11 REQUIRED x11)
@@ -130,13 +127,6 @@ else()
if(CMAKE_SYSTEM_NAME STREQUAL "NetBSD" AND VULKAN)
list(APPEND INCLUDE_DIRS /usr/pkg/include)
endif()
list(APPEND GL_INCLUDE_DIRS ${INCLUDE_DIRS})
list(APPEND GL_LIBRARY_DIRS ${LIBRARY_DIRS})
list(APPEND GL_LIBRARIES GL GLU)
list(APPEND VK_INCLUDE_DIRS ${INCLUDE_DIRS})
list(APPEND VK_LIBRARY_DIRS ${LIBRARY_DIRS})
endif()
target_include_directories(
@@ -161,16 +151,6 @@ target_compile_definitions(
_MILSKO
)
if(BUILD_EXAMPLES)
add_subdirectory(examples/basic)
if(OPENGL)
add_subdirectory(examples/gldemos)
endif()
if(VULKAN)
add_subdirectory(examples/vkdemos)
endif()
endif()
include(GNUInstallDirs)
install(
TARGETS Mw