occt: master e92d322d
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
master | 2022-05-04 12:57:51 | master b71cb85f | ||
Affected Issues | 0032921: Configuration, CMake - allow selecting C++ standard | |||
Changeset | 0032921: Configuration, CMake - allow selecting C++ standard. Make C++ standard to be enable from cmake settings: User will be able choosing C++ language standard by selecting cmake variable BUILD_CPP_STANDARD. For correct working, CMAKE_CXX_STANDARD cmake built-in variable should be available. To enable CMAKE_CXX_STANDARD, minimum CMAKE version has been updated to 3.1. Available next standard items: C++11 C++14 C++17 C++20 C++23 This issue consists from several steps to achive main goal: 1) Configuratiuon, CMake - allow selecting C++ standard. 2) Require minimum CMAKE version 3.1 (for enabling CMAKE_CXX_STANDARD). 3) More flexible CMAKE_CXX_COMPILER_ID identification (fixups previous commit!) 4) Add description of new CMAKE variable `BUILD_CPP_STANDARD` into documentation. 5) Update CMAKE requirements in documentation. 6) Set C++11 standard for several projects. |
|||
mod - adm/cmake/cotire.cmake | Diff File | |||
mod - adm/cmake/occt_defs_flags.cmake | Diff File | |||
mod - adm/cmake/occt_macros.cmake | Diff File | |||
mod - adm/cmake/occt_toolkit.cmake | Diff File | |||
mod - CMakeLists.txt | Diff File | |||
mod - dox/build/build_occt/building_occt.md | Diff File | |||
mod - dox/introduction/introduction.md | Diff File | |||
mod - samples/glfw/adm/cmake/FindOpenCASCADE.cmake | Diff File | |||
mod - samples/glfw/CMakeLists.txt | Diff File | |||
mod - samples/java/jniviewer/app/src/main/jni/CMakeLists.txt | Diff File | |||
mod - samples/mfc/standard/01_Geometry/CMakeLists.txt | Diff File | |||
mod - samples/mfc/standard/02_Modeling/CMakeLists.txt | Diff File | |||
mod - samples/mfc/standard/03_ImportExport/CMakeLists.txt | Diff File | |||
mod - samples/mfc/standard/04_HLR/CMakeLists.txt | Diff File | |||
mod - samples/mfc/standard/mfcsample/CMakeLists.txt | Diff File | |||
mod - samples/webgl/CMakeLists.txt | Diff File | |||
mod - tools/CMakeLists.txt | Diff File | |||
mod - tools/TInspectorEXE/CMakeLists.txt | Diff File | |||
mod - tools/TKDFBrowser/CMakeLists.txt | Diff File | |||
mod - tools/TKMessageModel/CMakeLists.txt | Diff File | |||
mod - tools/TKMessageView/CMakeLists.txt | Diff File | |||
mod - tools/TKShapeView/CMakeLists.txt | Diff File | |||
mod - tools/TKTInspector/CMakeLists.txt | Diff File | |||
mod - tools/TKTInspectorAPI/CMakeLists.txt | Diff File | |||
mod - tools/TKToolsDraw/CMakeLists.txt | Diff File | |||
mod - tools/TKTreeModel/CMakeLists.txt | Diff File | |||
mod - tools/TKView/CMakeLists.txt | Diff File | |||
mod - tools/TKVInspector/CMakeLists.txt | Diff File |