initial commit

This commit is contained in:
mikhail "synzr" 2025-12-25 01:37:49 +05:00
commit 9d20827c46
2469 changed files with 470994 additions and 0 deletions

32
third-party/JsonQt/CMakeLists.txt vendored Normal file
View file

@ -0,0 +1,32 @@
PROJECT(JsonQt)
# Stop cmake 2.6 from whining
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
IF(COMMAND cmake_policy)
CMAKE_POLICY(SET CMP0003 NEW)
ENDIF(COMMAND cmake_policy)
SET(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR})
# If building for release, don't include QDebug stuff
IF("x${CMAKE_BUILD_TYPE}" STREQUAL "x")
SET(CMAKE_BUILD_TYPE "Release")
ENDIF()
IF("${CMAKE_BUILD_TYPE}" STREQUAL "Release")
ADD_DEFINITIONS("-DQT_NO_DEBUG_OUTPUT")
ELSE()
IF(${CMAKE_COMPILER_IS_GNUCXX})
ADD_DEFINITIONS("-Wall -Werror")
ENDIF()
ENDIF()
# Docs
CONFIGURE_FILE(Doxyfile.cmake Doxyfile)
ADD_CUSTOM_TARGET(doc doxygen)
# Subdirs
ADD_SUBDIRECTORY(lib)
IF("${BUILD_TESTS}" STREQUAL "")
OPTION(BUILD_TESTS "Build tests" ON)
ENDIF()
IF(BUILD_TESTS)
ADD_SUBDIRECTORY(tests)
ENDIF()