CMakeLists.txt (487B)
1 cmake_minimum_required(VERSION 3.25.2) 2 set(CMAKE_EXPORT_COMPILE_COMMANDS ON) 3 4 project( 5 Alec 6 VERSION 1.0.6 7 DESCRIPTION "Abstraction Layer for Escape Codes" 8 HOMEPAGE_URL https://git.dimitrijedobrota.com/alec.git 9 LANGUAGES C CXX 10 ) 11 enable_testing() 12 13 set(CMAKE_C_STANDARD 11) 14 set(CMAKE_C_STANDARD_REQUIRED ON) 15 set(CMAKE_C_EXTENSIONS YES) 16 17 set(CMAKE_CXX_STANDARD 23) 18 set(CMAKE_CXX_STANDARD_REQUIRED ON) 19 set(CMAKE_CXX_EXTENSIONS OFF) 20 21 add_subdirectory(src) 22 add_subdirectory(demo)