KDE/CMakeLists.txt

26 lines
625 B
CMake
Raw Normal View History

2022-10-17 20:19:56 +02:00
cmake_minimum_required(VERSION 3.18.1)
project("kde_win")
# This file is only intended for windows desktop builds
if (NOT WIN32)
message(FATAL_ERROR "Only windows builds from top-level CMakeLists.txt")
endif()
2022-12-16 12:18:47 +01:00
include(FetchContent)
FetchContent_Declare(
tracy
GIT_REPOSITORY https://github.com/wolfpld/tracy.git
GIT_TAG master
GIT_SHALLOW TRUE
GIT_PROGRESS TRUE
)
FetchContent_MakeAvailable(tracy)
2022-10-17 20:19:56 +02:00
set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
add_subdirectory(glfw)
add_subdirectory(app/src/main/cpp)