Meta: Update CLion configuration to include LibM and generated files

Also bumps the CXX Standard to C++20.
This commit is contained in:
Luke 2020-08-06 03:57:38 +01:00 committed by Andreas Kling
parent 3ba0164ce0
commit 4b6036bc33
Notes: sideshowbarker 2024-07-19 04:15:00 +09:00

View file

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.0)
project(serenity)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)
file(GLOB_RECURSE AK_SOURCES "serenity/AK/*.cpp")
file(GLOB_RECURSE APPLICATIONS_SOURCES "serenity/Applications/*.cpp")
@ -24,8 +24,11 @@ set(INCLUDE_DIRS
"serenity/Libraries"
"serenity/Libraries/LibC"
"serenity/Libraries/LibPthread"
"serenity/Libraries/LibM"
"serenity/Services"
"serenity/Toolchain/Local/i686-pc-serenity/include/c++/10.1.0")
"serenity/Toolchain/Local/i686-pc-serenity/include/c++/10.1.0"
"serenity/Build/Services"
"serenity/Build/Libraries")
add_library(serenity
${AK_SOURCES}