mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Testing - Update samples C++ version (#606)
- Updating Qt project files to use C++17 standard instead of GNU++11 - Configuring Visual Studio project files to use C++17 language standard - Setting CMake projects to require C++17 standard
This commit is contained in:
@@ -15,11 +15,12 @@ occt_lib_path = $$_PRO_FILE_PWD_/occt/$$occt_lib_subpath
|
||||
|
||||
android {
|
||||
QMAKE_CFLAGS += -fexceptions -Wno-ignored-qualifiers
|
||||
QMAKE_CXXFLAGS += -fexceptions -Wno-ignored-qualifiers
|
||||
QMAKE_CXXFLAGS += -fexceptions -Wno-ignored-qualifiers -std=c++17
|
||||
LIBS += -L$$occt_lib_path -lEGL
|
||||
}
|
||||
win32 {
|
||||
QMAKE_CXXFLAGS_WARN_ON += -W4
|
||||
QMAKE_CXXFLAGS += /std:c++17
|
||||
INCLUDEPATH += $$(CSF_OCCTIncludePath)
|
||||
LIBS += -L$(CSF_OCCTLibPath);$(CSF_PRODLibPath)
|
||||
LIBS += -lopengl32
|
||||
|
Reference in New Issue
Block a user