1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00
kgv b8ef513c8f 0032206: Visualization, TKOpenGl - move out OpenGL ES support to dedicated library TKOpenGles
Added TKOpenGles and TKOpenGlesTest toolkits built with HAVE_GLES2 macros.
Added CSF_OpenGlesLibs as alternative to CSF_OpenGlLibs.
2021-03-21 19:15:06 +03:00

60 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
LIBS += -L$$occt_lib_path -lEGL
}
win32 {
QMAKE_CXXFLAGS_WARN_ON += -W4
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