2025-11-16 02:45:59 +09:00
|
|
|
cmake_minimum_required(VERSION 3.25)
|
2025-11-16 02:51:11 +09:00
|
|
|
project(
|
|
|
|
|
mde
|
|
|
|
|
)
|
2025-11-16 02:45:59 +09:00
|
|
|
|
2025-11-18 19:17:18 +09:00
|
|
|
file(
|
|
|
|
|
GLOB
|
|
|
|
|
CMAKE_SRC
|
|
|
|
|
mdecmake/*.cmake
|
|
|
|
|
)
|
|
|
|
|
foreach(SRC IN LISTS CMAKE_SRC)
|
|
|
|
|
include(${SRC})
|
|
|
|
|
endforeach()
|
|
|
|
|
|
|
|
|
|
configure_file(include/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
|
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
|
|
|
|
2025-11-16 02:45:59 +09:00
|
|
|
set(CLASSIC_THEME 1)
|
|
|
|
|
set(USE_FREETYPE2 0)
|
|
|
|
|
add_subdirectory(external/milsko)
|
2025-11-16 02:51:11 +09:00
|
|
|
|
2025-11-16 19:39:39 +09:00
|
|
|
include_directories(external)
|
|
|
|
|
|
2025-11-16 02:51:11 +09:00
|
|
|
add_subdirectory(mdelibs)
|
|
|
|
|
add_subdirectory(mdebase)
|
2025-11-18 19:17:18 +09:00
|
|
|
add_subdirectory(mdeutils)
|