From: ibs Date: Wed, 28 Oct 2015 15:24:34 +0000 (+0300) Subject: 0026823: Configuration - use EGL on another platform without GLX X-Git-Tag: V7_0_0_beta~150 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=d8d01f6ed6871a17bc7139984d48b7ce291c4428;p=occt-copy.git 0026823: Configuration - use EGL on another platform without GLX --- diff --git a/adm/genproj.tcl b/adm/genproj.tcl index 3fcfec250f..f0ddc6f900 100644 --- a/adm/genproj.tcl +++ b/adm/genproj.tcl @@ -1109,12 +1109,19 @@ proc osutils:csfList { theOS theCsfLibsMap theCsfFrmsMap } { set aFrmsMap(CSF_TclLibs) "Tcl" set aFrmsMap(CSF_TclTkLibs) "Tk" } else { - set aLibsMap(CSF_ThreadLibs) "pthread rt" - set aLibsMap(CSF_OpenGlLibs) "GL" - set aLibsMap(CSF_TclLibs) "tcl8.6" - set aLibsMap(CSF_TclTkLibs) "X11 tk8.6" - set aLibsMap(CSF_XwLibs) "X11 Xext Xmu Xi" - set aLibsMap(CSF_MotifLibs) "X11" + if { "$theOS" == "qnx" } { + # CSF_ThreadLibs - pthread API is part og libc on QNX + set aLibsMap(CSF_OpenGlLibs) "EGL GLESv2" + set aLibsMap(CSF_TclLibs) "tcl8.6" + set aLibsMap(CSF_TclTkLibs) "tk8.6" + } else { + set aLibsMap(CSF_ThreadLibs) "pthread rt" + set aLibsMap(CSF_OpenGlLibs) "GL" + set aLibsMap(CSF_TclLibs) "tcl8.6" + set aLibsMap(CSF_TclTkLibs) "X11 tk8.6" + set aLibsMap(CSF_XwLibs) "X11 Xext Xmu Xi" + set aLibsMap(CSF_MotifLibs) "X11" + } } # optional 3rd-parties @@ -2054,13 +2061,13 @@ proc osutils:cbp { theOutDir theProjName theSrcFiles theLibsList theFrameworks t # Release target configuration puts $aFile "\t\t\t" if { "$theIsExe" == "true" } { - puts $aFile "\t\t\t\t