1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-07-15 12:35:51 +03:00
Pasukhin Dmitry 3d3a47a33a
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
2025-07-12 15:44:22 +01:00

61 lines
1.9 KiB
Plaintext

#
INCLUDEPATH += $$_PRO_FILE_PWD_/occt/inc $$_PRO_FILE_PWD_/3rdparty/include
DEPENDPATH += $$_PRO_FILE_PWD_/occt/inc $$_PRO_FILE_PWD_/3rdparty/include
DEFINES += OCC_CONVERT_SIGNALS
CONFIG(debug,debug|release) {
DEFINES += DEB
}
occt_lib_subpath = libs/armeabi-v7a
occt_lib_path = $$_PRO_FILE_PWD_/occt/$$occt_lib_subpath
3rdparty_lib_path = $$_PRO_FILE_PWD_/3rdparty/$$occt_lib_subpath
android {
QMAKE_CFLAGS += -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
}
LIBS += -lTKernel \
-lTKMath \
-lTKG2d \
-lTKG3d \
-lTKGeomBase \
-lTKBRep \
-lTKGeomAlgo \
-lTKTopAlgo \
-lTKShHealing \
-lTKService \
-lTKMesh \
-lTKHLR \
-lTKV3d \
-lTKOpenGles
# IMPORTANT. load libraries in a proper order
ANDROID_EXTRA_LIBS = $$3rdparty_lib_path/libfreeimage.so \
$$3rdparty_lib_path/libfreetype.so \
$$occt_lib_path/libTKernel.so \
$$occt_lib_path/libTKMath.so \
$$occt_lib_path/libTKG2d.so \
$$occt_lib_path/libTKG3d.so \
$$occt_lib_path/libTKGeomBase.so \
$$occt_lib_path/libTKBRep.so \
$$occt_lib_path/libTKGeomAlgo.so \
$$occt_lib_path/libTKTopAlgo.so \
$$occt_lib_path/libTKShHealing.so \
$$occt_lib_path/libTKService.so \
$$occt_lib_path/libTKMesh.so \
$$occt_lib_path/libTKHLR.so \
$$occt_lib_path/libTKV3d.so \
$$occt_lib_path/libTKOpenGles.so