mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-09 05:27:41 +00:00
Editor: Update to C++23
Track the latest standard instead of being stuck on C++17.
This commit is contained in:
2
externals/LibCommon
vendored
2
externals/LibCommon
vendored
Submodule externals/LibCommon updated: 9b85e5339f...6399dbe932
@@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.12)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
|
|
||||||
project(pwe_core CXX C)
|
project(pwe_core CXX C)
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ file(GLOB_RECURSE source_files
|
|||||||
|
|
||||||
add_library(pwe_core ${source_files})
|
add_library(pwe_core ${source_files})
|
||||||
|
|
||||||
target_compile_features(pwe_core PRIVATE cxx_std_17)
|
target_compile_features(pwe_core PRIVATE cxx_std_23)
|
||||||
|
|
||||||
target_include_directories(pwe_core
|
target_include_directories(pwe_core
|
||||||
PUBLIC
|
PUBLIC
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
cmake_minimum_required(VERSION 3.12)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
|
|
||||||
# TODO: These should be drive by CI if CI ever becomes a thing for PWE.
|
# TODO: These should be drive by CI if CI ever becomes a thing for PWE.
|
||||||
set(PWE_APP_NAME "Prime World Editor")
|
set(PWE_APP_NAME "Prime World Editor")
|
||||||
@@ -99,7 +99,7 @@ set_target_properties(pwe_editor PROPERTIES OUTPUT_NAME PrimeWorldEditor DEBUG_P
|
|||||||
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_BINARY_DIR}/Info.plist"
|
MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_BINARY_DIR}/Info.plist"
|
||||||
MACOSX_BUNDLE_BUNDLE_NAME "PrimeWorldEditor")
|
MACOSX_BUNDLE_BUNDLE_NAME "PrimeWorldEditor")
|
||||||
|
|
||||||
target_compile_features(pwe_editor PRIVATE cxx_std_17)
|
target_compile_features(pwe_editor PRIVATE cxx_std_23)
|
||||||
|
|
||||||
target_link_libraries(
|
target_link_libraries(
|
||||||
pwe_editor
|
pwe_editor
|
||||||
|
|||||||
Reference in New Issue
Block a user