- Timestamp:
- May 26, 2010, 9:00:17 AM (14 years ago)
- Location:
- osgVisual
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/CMakeLists.txt
r28 r51 3 3 PROJECT(osgVisual) 4 4 #SET(CMAKE_MODULE_PATH "${osgVisual_SOURCE_DIR}/../CMakeModules;${CMAKE_MODULE_PATH}") 5 6 #INCLUDE( CheckTypeSize ) 7 #CHECK_TYPE_SIZE( "void*" SIZE_OF_VOID_P ) 8 IF( CMAKE_SIZEOF_VOID_P EQUAL 4 ) 9 MESSAGE( STATUS "32 bit architecture detected" ) 10 SET(DESTINATION_ARCH "x86") 11 ENDIF() 12 IF( CMAKE_SIZEOF_VOID_P EQUAL 8 ) 13 MESSAGE( STATUS "64 bit architecture detected" ) 14 SET(DESTINATION_ARCH "x64") 15 ENDIF() 5 16 6 17 # Get OSG Settings … … 9 20 FIND_PACKAGE(OpenGL REQUIRED) 10 21 11 # Module sky-silverlining - At the moment only for Win32, will be opened to Unix asap22 # Module sky-silverlining - At the moment only for Win32, will be opened to Unix ASAP 12 23 # OPTION( OPTION_VAR "description string" [initial value] ) 13 24 IF ( WIN32 ) … … 28 39 ) 29 40 30 SET(SILVERLINING_LIBRARY_RELEASE $ENV{SILVERLINING_PATH}\\lib\\vc8\\win32\\SilverLining-MT-DLL.lib CACHE FILEPATH "Select the release library of Sundog-Soft's Silverlining SDK to link against." ) 31 SET(SILVERLINING_LIBRARY_DEBUG $ENV{SILVERLINING_PATH}\\lib\\vc8\\win32\\SilverLining-MTD-DLL.lib CACHE FILEPATH "Select the debug library of Sundog-Soft's Silverlining SDK to link against." ) 41 IF (DESTINATION_ARCH STREQUAL "x86") 42 SET(SILVERLINING_ARCH "win32") 43 ELSEIF ( DESTINATION_ARCH STREQUAL "x64" ) 44 SET(SILVERLINING_ARCH "x64") 45 ENDIF () 46 SET(SILVERLINING_LIBRARY_RELEASE $ENV{SILVERLINING_PATH}\\lib\\vc9\\${SILVERLINING_ARCH}\\SilverLining-MT-DLL.lib CACHE FILEPATH "Select the release library of Sundog-Soft's Silverlining SDK to link against." ) 47 SET(SILVERLINING_LIBRARY_DEBUG $ENV{SILVERLINING_PATH}\\lib\\vc9\\${SILVERLINING_ARCH}\\SilverLining-MTD-DLL.lib CACHE FILEPATH "Select the debug library of Sundog-Soft's Silverlining SDK to link against." ) 32 48 SET(SILVERLINING_INCLUDE_DIR "$ENV{SILVERLINING_PATH}\\Public Headers" CACHE PATH "Enter the path to the the public Include directory of Sundog-Soft's Silverlining SDK" ) 33 49 SET(SILVERLINING_LICENSEE "Your user name" CACHE STRING "Enter your Silverlining licensee name. If you license available, osgVisual will work with silverlining as 5 minute demo with the default value." ) … … 145 161 INCLUDE_DIRECTORIES(${EXTLINK_VCL_INCLUDE_DIR}) 146 162 ADD_DEFINITIONS( "-DUSE_EXTLINK_VCL" ) 163 #Linking: VCL uses #pragma to link, no need for linking configuration in CMAKE 147 164 ELSE(USE_EXTLINK_VCL) 148 165 SET(SOURCES … … 243 260 SET(USERFILE_COMMAND_ARGUMENTS_DEBUG "-C center --window 100 100 800 600 -m D:/OpenSceneGraph/VPB-Testdatensatz/DB_Small/database.ive -p salzburg.path" CACHE STRING "Command arguments (VS Project settings)" ) 244 261 SET(USERFILE_REMOTE_MACHINE_DEBUG ${USER_NAME} CACHE STRING "Remote Debugging Machine (VS Project settings)") 262 IF (DESTINATION_ARCH STREQUAL "x64") 263 SET(USERFILE_ENVIRONMENT "PATH=%OSG_X64%;%PATH%" CACHE STRING "Environment Variables that VS should merge on thy fly with system environment to run osgVisual (VS Project settings)") 264 ENDIF () 265 245 266 246 267 # Only do this if one doesn't already exist -
osgVisual/VC80.vcproj.user.template
r17 r51 21 21 PDBPath="" 22 22 SQLDebugging="" 23 Environment=" "23 Environment="@USERFILE_ENVIRONMENT@" 24 24 EnvironmentMerge="true" 25 25 DebuggerFlavor="0" … … 49 49 PDBPath="" 50 50 SQLDebugging="" 51 Environment=" "51 Environment="@USERFILE_ENVIRONMENT@" 52 52 EnvironmentMerge="true" 53 53 DebuggerFlavor="0" … … 77 77 PDBPath="" 78 78 SQLDebugging="" 79 Environment=" "79 Environment="@USERFILE_ENVIRONMENT@" 80 80 EnvironmentMerge="true" 81 81 DebuggerFlavor="" … … 105 105 PDBPath="" 106 106 SQLDebugging="" 107 Environment=" "107 Environment="@USERFILE_ENVIRONMENT@" 108 108 EnvironmentMerge="true" 109 109 DebuggerFlavor="" -
osgVisual/VC90.vcproj.user.template
r17 r51 21 21 PDBPath="" 22 22 SQLDebugging="" 23 Environment=" "23 Environment="@USERFILE_ENVIRONMENT@" 24 24 EnvironmentMerge="true" 25 25 DebuggerFlavor="0" … … 49 49 PDBPath="" 50 50 SQLDebugging="" 51 Environment=" "51 Environment="@USERFILE_ENVIRONMENT@" 52 52 EnvironmentMerge="true" 53 53 DebuggerFlavor="0" … … 77 77 PDBPath="" 78 78 SQLDebugging="" 79 Environment=" "79 Environment="@USERFILE_ENVIRONMENT@" 80 80 EnvironmentMerge="true" 81 81 DebuggerFlavor="" … … 105 105 PDBPath="" 106 106 SQLDebugging="" 107 Environment=" "107 Environment="@USERFILE_ENVIRONMENT@" 108 108 EnvironmentMerge="true" 109 109 DebuggerFlavor=""
Note: See TracChangeset
for help on using the changeset viewer.