Permalink
Browse files

[Tools] RigInspector: long arrays now broken into multiple lines

  • Loading branch information...
0 parents commit de6e2853b1f3cdc5764c79aae52f198175dffb20 @only-a-ptr only-a-ptr committed Oct 29, 2014
Showing 3,274 changed files with 457,085 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
@@ -0,0 +1,21 @@
+syntax: glob
+CMakeFiles
+cmake_install.cmake
+Makefile
+CMakeCache.txt
+CPackConfig.cmake
+EnabledFeatures.txt
+CPackSourceConfig.cmake
+CMakeTmp
+build_x86
+build_x64
+dependencies/
+bin/RoR
+bin/RoRConfig
+bin/libangelscript_addons.a
+bin/Release/
+bin/plugins.cfg
+bin/RelWithDebInfo/
+ror-dependencies-*.zip
+dependencies-*.zip
+_build
@@ -0,0 +1,261 @@
+# components
+set(ROR_USE_MYGUI "TRUE" CACHE BOOL "use MyGUI")
+set(ROR_USE_OPENAL "TRUE" CACHE BOOL "use OPENAL")
+set(ROR_USE_SOCKETW "TRUE" CACHE BOOL "use SOCKETW")
+set(ROR_USE_PAGED "TRUE" CACHE BOOL "use paged geometry")
+set(ROR_USE_CAELUM "TRUE" CACHE BOOL "use caelum sky")
+set(ROR_USE_ANGELSCRIPT "TRUE" CACHE BOOL "use angel script")
+set(ROR_USE_CURL "TRUE" CACHE BOOL "use curl, required for communication with online services")
+
+
+# some obsolete options:
+# disabled some options for now
+#set(ROR_FEAT_TIMING "FALSE" CACHE BOOL "enable beam statistics. For core development only")
+set(ROR_BUILD_UPDATER OFF)
+set(ROR_FEAT_TIMING OFF)
+set(ROR_BUILD_SIM ON)
+
+# set some defaults
+IF(WIN32)
+macro(importLib libName dirName)
+ message(STATUS "adding imported lib: ${libName} : ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/Release/${libName}.lib")
+ add_library(${libName} STATIC IMPORTED)
+
+ # default is release mode:
+ SET_PROPERTY(TARGET ${libName} PROPERTY IMPORTED_LOCATION ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/Release/${libName}.lib)
+
+ # then the special config
+ if(EXISTS ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/Release/${libName}.lib)
+ SET_PROPERTY(TARGET ${libName} PROPERTY IMPORTED_LOCATION_RELEASE ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/Release/${libName}.lib)
+ endif()
+ if(EXISTS ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/RelWithDebInfo/${libName}.lib)
+ SET_PROPERTY(TARGET ${libName} PROPERTY IMPORTED_LOCATION_RELWITHDEBINFO ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/RelWithDebInfo/${libName}.lib)
+ else()
+ # fallback to release
+ SET_PROPERTY(TARGET ${libName} PROPERTY IMPORTED_LOCATION_RELWITHDEBINFO ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/Release/${libName}.lib)
+ endif()
+ if(EXISTS ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/Debug/${libName}_d.lib)
+ SET_PROPERTY(TARGET ${libName} PROPERTY IMPORTED_LOCATION_DEBUG ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/Debug/${libName}_d.lib)
+ else()
+ # fallback to release
+ SET_PROPERTY(TARGET ${libName} PROPERTY IMPORTED_LOCATION_RELWITHDEBINFO ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/Release/${libName}.lib)
+ endif()
+ if(EXISTS ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/Debug/${libName}.lib)
+ SET_PROPERTY(TARGET ${libName} PROPERTY IMPORTED_LOCATION_DEBUG ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/Debug/${libName}.lib)
+ else()
+ # fallback to release
+ SET_PROPERTY(TARGET ${libName} PROPERTY IMPORTED_LOCATION_RELWITHDEBINFO ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/Release/${libName}.lib)
+ endif()
+ if(EXISTS ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/MinSizeRel/${libName}.lib)
+ SET_PROPERTY(TARGET ${libName} PROPERTY IMPORTED_LOCATION_MINSIZEREL ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/MinSizeRel/${libName}.lib)
+ else()
+ # fallback to release
+ SET_PROPERTY(TARGET ${libName} PROPERTY IMPORTED_LOCATION_RELWITHDEBINFO ${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/${dirName}/Release/${libName}.lib)
+ endif()
+endmacro(importLib)
+
+
+ set(ROR_USE_OIS_G27 "FALSE" CACHE BOOL "use OIS With G27 patches")
+ set(ROR_USE_MOFILEREADER "TRUE" CACHE BOOL "use mofilereader")
+
+ set(ROR_USE_CRASHRPT "FALSE" CACHE BOOL "use crash report tool")
+ # check if dependencies dir is in here
+ set(DEPENDENCIES_DIR_CHECK "${RoR_SOURCE_DIR}/dependencies")
+ set(DEPENDENCIES_DIR "")
+ if(IS_DIRECTORY ${DEPENDENCIES_DIR_CHECK})
+ set(DEPENDENCIES_DIR ${DEPENDENCIES_DIR_CHECK})
+ endif(IS_DIRECTORY ${DEPENDENCIES_DIR_CHECK})
+
+ set(ROR_DEPENDENCIES_DIR "${DEPENDENCIES_DIR}" CACHE PATH "The ROR dependency path to use")
+
+ if(NOT ROR_DEPENDENCIES_DIR)
+ message(FATAL_ERROR "Rigs of Rods dependency dir not set properly!")
+ endif(NOT ROR_DEPENDENCIES_DIR)
+
+ #### REQUIRED COMPONENTS
+ set(Ogre_INCLUDE_DIRS
+ "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/Ogre/;"
+ "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/Ogre/Terrain;"
+ "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/Ogre/Paging;"
+ "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/Ogre/RTShaderSystem;"
+ "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/Ogre/Property;"
+ "The ogre include path to use")
+ importLib(OgreMain Ogre)
+ importLib(OgreTerrain Ogre)
+ importLib(OgrePaging Ogre)
+ importLib(OgreRTShaderSystem Ogre)
+ importLib(OgreProperty Ogre)
+ set(Ogre_LIBRARIES "OgreMain;OgreTerrain;OgrePaging;OgreRTShaderSystem;OgreProperty" CACHE STRING "The Ogre libs to link against")
+
+ set(Ois_INCLUDE_DIRS "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/ois" CACHE PATH "The OIS include path to use")
+ importLib(ois_static OIS)
+ set(Ois_LIBRARIES "ois_static" CACHE STRING "The OIS libs to link against")
+
+ set(Boost_INCLUDE_DIRS "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/boost" CACHE PATH "The boost include path to use")
+ set(Boost_LIBRARY_DIRS "${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/boost" CACHE PATH "The boost lib path to use")
+ set(Boost_LIBRARIES "optimized;libboost_date_time-vc100-mt-1_48;libboost_filesystem-vc100-mt-1_48" CACHE STRING "The boost libs to link against")
+
+ # special include path for curl ...
+ if(ROR_USE_CURL)
+ set(CURL_INCLUDE_DIRS "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/curl" CACHE PATH "The curl include path to use")
+ set(CURL_LIBRARIES "libcurl_imp" CACHE STRING "The curl lib to link against")
+ importLib(libcurl_imp curl)
+ endif(ROR_USE_CURL)
+
+ set(PThread_INCLUDE_DIRS "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/pthread" CACHE PATH "The pthread include path to use")
+ set(PThread_LIBRARIES "optimized;${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/pthread/Release/pthreadVC2.lib" CACHE STRING "The pthread lib to link against")
+ include_directories(${PThread_INCLUDE_DIRS})
+
+ # directX
+ set(DirectX_INCLUDE_DIRS "$ENV{DXSDK_DIR}/Include" CACHE PATH "The DirectX include path to use")
+ set(DirectX_LIBRARY_DIRS "$ENV{DXSDK_DIR}/lib/${ARCH_DIR}/" CACHE PATH "The DirectX lib path to use")
+ include_directories(${DirectX_INCLUDE_DIRS})
+ link_directories (${DirectX_LIBRARY_DIRS})
+
+
+ #### OPTIONAL COMPONENTS
+ if(ROR_USE_MYGUI)
+ set(MYGUI_INCLUDE_DIRS "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/MyGUI" CACHE PATH "The mygui include path to use")
+ importLib(MyGUIEngineStatic MyGUI)
+ importLib(MyGUI.OgrePlatform MyGUI)
+ importLib(freetype2311 MyGUI)
+ set(MYGUI_LIBRARIES "MyGUI.OgrePlatform;MyGUIEngineStatic;freetype2311" CACHE STRING "The mygui libs to link against")
+ endif(ROR_USE_MYGUI)
+
+ if(ROR_USE_OPENAL)
+ set(OPENAL_INCLUDE_DIRS "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/OpenALSoft" CACHE PATH "The openal include path to use")
+ importLib(OpenAL32 OpenALSoft)
+ set(OPENAL_LIBRARIES "OpenAL32" CACHE STRING "The openal libs to link against")
+ endif(ROR_USE_OPENAL)
+
+ if(ROR_USE_SOCKETW)
+ set(SOCKETW_INCLUDE_DIRS "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/SocketW" CACHE PATH "The socketw include path to use")
+ importLib(mysocketw SocketW)
+ set(SOCKETW_LIBRARIES "mysocketw;Ws2_32.lib" CACHE STRING "The socketw lib to link against")
+ endif(ROR_USE_SOCKETW)
+
+ if(ROR_USE_MOFILEREADER)
+ set(MOFILEREADER_INCLUDE_DIRS "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/mofilereader" CACHE PATH "The mofilereader include path to use")
+ importLib(moFileReader.static MoFileReader)
+ set(MOFILEREADER_LIBRARIES "moFileReader.static" CACHE STRING "The mofilereader lib to link against")
+ endif(ROR_USE_MOFILEREADER)
+
+ if(ROR_USE_PAGED)
+ set(PAGED_INCLUDE_DIRS "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/PagedGeometry" CACHE PATH "The paged include path to use")
+ importLib(PagedGeometry PagedGeometry)
+ set(PAGED_LIBRARIES "PagedGeometry" CACHE STRING "The paged lib to link against")
+ endif(ROR_USE_PAGED)
+
+ if(ROR_USE_CAELUM)
+ set(CAELUM_INCLUDE_DIRS "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/Caelum" CACHE PATH "The caelum include path to use")
+ importLib(Caelum Caelum)
+ set(CAELUM_LIBRARIES "Caelum" CACHE STRING "The caelum lib to link against")
+ endif(ROR_USE_CAELUM)
+
+ if(ROR_USE_CRASHRPT)
+ set(CRASHRPT_INCLUDE_DIRS "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/CrashRpt" CACHE PATH "The CrashRpt include path to use")
+ set(CRASHRPT_LIBRARY_DIRS "${ROR_DEPENDENCIES_DIR}/libs/${ARCH_DIR}/CrashRpt" CACHE PATH "The CrashRpt lib path to use")
+ set(CRASHRPT_LIBRARIES "CrashRpt1300.lib" CACHE STRING "The CrashRpt lib to link against")
+ endif(ROR_USE_CRASHRPT)
+
+ if(ROR_USE_ANGELSCRIPT)
+ set(ANGELSCRIPT_INCLUDE_DIRS "${ROR_DEPENDENCIES_DIR}/includes/${ARCH_DIR}/AngelScript;${RoR_SOURCE_DIR}/source/angelscript_addons" CACHE PATH "The AngelScript include path to use")
+ importLib(angelscript angelscript)
+ set(ANGELSCRIPT_LIBRARIES "angelscript" CACHE STRING "The AngelScript libs to link against")
+ endif(ROR_USE_ANGELSCRIPT)
+
+ELSEIF(UNIX)
+ find_package(PkgConfig)
+ PKG_CHECK_MODULES (GTK gtk+-2.0 REQUIRED)
+ PKG_CHECK_MODULES (GTK_PIXBUF gdk-pixbuf-2.0 REQUIRED)
+ include_directories(${GTK_INCLUDE_DIRS})
+ include_directories(${GTK_PIXBUF_INCLUDE_DIRS})
+
+ # Ogre basics
+ PKG_CHECK_MODULES (Ogre OGRE REQUIRED)
+
+ # Ogre components
+ PKG_CHECK_MODULES (Ogre_Terrain OGRE-Terrain REQUIRED)
+ PKG_CHECK_MODULES (Ogre_Paging OGRE-Paging REQUIRED)
+ PKG_CHECK_MODULES (Ogre_RTShader OGRE-RTShaderSystem REQUIRED)
+
+
+ PKG_CHECK_MODULES (Ois OIS REQUIRED)
+
+ find_package(CURL)
+ if(CURL_FOUND)
+ set(CURL_INCLUDE_DIRS ${CURL_INCLUDE_DIR})
+ set(CURL_LIBRARIES ${CURL_LIBRARY})
+ set(ROR_USE_CURL ON)
+ else()
+ set(ROR_USE_CURL OFF)
+ endif(CURL_FOUND)
+
+
+ # using cmake fingd modules
+ # Open-AL
+ find_package(OpenAL)
+ if(OPENAL_FOUND)
+ set(OPENAL_INCLUDE_DIRS ${OPENAL_INCLUDE_DIR})
+ set(OPENAL_LIBRARIES ${OPENAL_LIBRARY})
+ set(ROR_USE_OPENAL ON)
+ else()
+ set(ROR_USE_OPENAL OFF)
+ endif(OPENAL_FOUND)
+
+ # using pkg-config
+ # MyGUI
+ PKG_CHECK_MODULES(MYGUI MYGUI)
+ if(MYGUI_FOUND)
+ find_library(MYGUI_OGRE_PLATFORM MyGUI.OgrePlatform)
+ set(MYGUI_LIBRARIES ${MYGUI_LIBRARIES} ${MYGUI_OGRE_PLATFORM})
+ # add our mygui BaseLayout
+ set(MYGUI_INCLUDE_DIRS ${MYGUI_INCLUDE_DIRS})
+ set(ROR_USE_MYGUI ON)
+ else()
+ set(ROR_USE_MYGUI OFF)
+ endif(MYGUI_FOUND)
+
+ # SocketW
+ find_path(SOCKETW_INCLUDE_DIRS "SocketW.h")
+ if(SOCKETW_INCLUDE_DIRS)
+ find_library(SOCKETW_LIBRARIES "SocketW")
+ set(ROR_USE_SOCKETW ON)
+ else()
+ set(ROR_USE_SOCKETW OFF)
+ endif(SOCKETW_INCLUDE_DIRS)
+
+ # Paged Geometry
+ find_path(PAGED_INCLUDE_DIRS "PagedGeometry/PagedGeometry.h")
+ if(PAGED_INCLUDE_DIRS)
+ set(PAGED_INCLUDE_DIRS "${PAGED_INCLUDE_DIRS};${PAGED_INCLUDE_DIRS}/PagedGeometry")
+ find_library(PAGED_LIBRARIES "PagedGeometry")
+ set(ROR_USE_PAGED ON)
+ else()
+ set(ROR_USE_PAGED OFF)
+ endif(PAGED_INCLUDE_DIRS)
+
+ # Caelum
+ find_path(CAELUM_INCLUDE_DIRS "Caelum/Caelum.h")
+ if(CAELUM_INCLUDE_DIRS)
+ set(CAELUM_INCLUDE_DIRS "${CAELUM_INCLUDE_DIRS}/Caelum")
+ find_library(CAELUM_LIBRARIES "Caelum")
+ set(ROR_USE_CAELUM ON)
+ else()
+ set(ROR_USE_CAELUM OFF)
+ endif(CAELUM_INCLUDE_DIRS)
+
+ # Angelscript
+ find_path(ANGELSCRIPT_INCLUDE_DIRS "angelscript.h")
+ if(ANGELSCRIPT_INCLUDE_DIRS)
+ find_library(ANGELSCRIPT_LIBRARIES "angelscript")
+ # add our addons to the include path
+ set(ANGELSCRIPT_INCLUDE_DIRS "${ANGELSCRIPT_INCLUDE_DIRS};${RoR_SOURCE_DIR}/source/angelscript_addons")
+ set(ROR_USE_ANGELSCRIPT ON)
+ else()
+ set(ROR_USE_ANGELSCRIPT OFF)
+ endif(ANGELSCRIPT_INCLUDE_DIRS)
+
+ set(ROR_USE_CRASHRPT FALSE)
+ set(ROR_USE_OIS_G27 FALSE)
+ENDIF(WIN32)
@@ -0,0 +1,107 @@
+# ensure cmake features we need
+CMAKE_MINIMUM_REQUIRED( VERSION 2.6.2 )
+if(COMMAND cmake_policy)
+ cmake_policy(SET CMP0003 NEW)
+endif(COMMAND cmake_policy)
+# done with cmake check
+
+# WIN32: remove MinSizeRel, Debug builds : unsupported
+if (WIN32)
+ set(CMAKE_CONFIGURATION_TYPES "RelWithDebInfo;Release" CACHE STRING "" FORCE)
+endif()
+
+project(RoR)
+include(CMakeMacros.txt)
+
+
+# check 64 bit
+set(ARCH_DIR "")
+if (WIN32)
+ message( STATUS "CMAKE_GENERATOR: ${CMAKE_GENERATOR}")
+ message( STATUS "CMAKE_CL_64: ${CMAKE_CL_64}")
+ if (CMAKE_CL_64)
+ set(ARCH_DIR "x64")
+ message(STATUS "using 64 bit libraries")
+ else()
+ set(ARCH_DIR "x86")
+ message(STATUS "using 32 bit libraries")
+ endif()
+endif()
+
+#setup the default build mode
+
+# global cmake options
+SET(BUILD_SHARED_LIBS ON)
+SET(CMAKE_USE_RELATIVE_PATHS OFF)
+
+# setup paths
+SET(ROR_DEPENDENCY_DIR "${RoR_SOURCE_DIR}/source/dependencies")
+SET(RUNTIME_OUTPUT_DIRECTORY "${RoR_SOURCE_DIR}/bin/")
+SET(LIBRARY_OUTPUT_DIRECTORY "${RoR_SOURCE_DIR}/lib/")
+SET(ARCHIVE_OUTPUT_DIRECTORY "${RoR_SOURCE_DIR}/lib/")
+SET(EXECUTABLE_OUTPUT_PATH ${RUNTIME_OUTPUT_DIRECTORY})
+SET(LIBRARY_OUTPUT_PATH ${RUNTIME_OUTPUT_DIRECTORY})
+SET(RoR_Dependencies_CMAKE_DIR "${ROR_DEPENDENCY_DIR}/cmake")
+
+# set the tools binary directory accordingly to the used platform
+IF(WIN32)
+ SET(ROR_BINTOOL_DIR ${RoR_SOURCE_DIR}/tools/windows/binaries)
+ELSEIF(UNIX)
+ SET(ROR_BINTOOL_DIR ${RoR_SOURCE_DIR}/tools/linux/binaries)
+ELSEIF(APPLE)
+ SET(ROR_BINTOOL_DIR ${RoR_SOURCE_DIR}/tools/linux/binaries)
+ENDIF(WIN32)
+
+set(CMAKE_DEBUG_POSTFIX _d)
+
+# hide some settings
+mark_as_advanced(
+ CMAKE_DEBUG_POSTFIX
+ CMAKE_BACKWARDS_COMPATIBILITY
+ Boost_LIB_DIAGNOSTIC_DEFINITIONS
+ EXECUTABLE_OUTPUT_PATH
+ LIBRARY_OUTPUT_PATH
+)
+
+if(WIN32)
+ #set(ROR_USING_VISUAL_STUDIO_PROFESSIONAL "FALSE" CACHE BOOL "if you use VS professional, enable this. DO NOT enable this when using express versions")
+
+ set(warnings /W3 /D_CRT_SECURE_NO_WARNINGS /wd4005 /wd4996 /wd4251 /wd4275 /wd4099 /nologo)
+ add_definitions(${warnings})
+
+ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MP /GL /Ox /Ob2 /Oi /Ot /Oy /fp:fast /GS- /MP /Zi")
+ set(CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} /MP /Zi")
+ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /MP /Od /Zi /Gy /fp:except /GF- /GS /Ob0")
+ #if(ROR_USING_VISUAL_STUDIO_PROFESSIONAL)
+ # set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELWITHDEBINFO} /analyze") # /analyze only available when using VS professional
+ #endif(ROR_USING_VISUAL_STUDIO_PROFESSIONAL)
+ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MP /Od /Zi /RTC1 /Gy /fp:except /GF- /RTCc /GS /Ob0")
+ # some general flags
+ add_definitions("-D_CRT_SECURE_NO_WARNINGS")
+ include_directories(${DirectX_INCLUDE_DIR})
+
+ set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} /DEBUG /LARGEADDRESSAWARE ")
+ set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} /DEBUG /LARGEADDRESSAWARE /OPT:REF /LTCG /RELEASE")
+ set(CMAKE_EXE_LINKER_FLAGS_MINSIZEREL "${CMAKE_EXE_LINKER_FLAGS_MINSIZEREL} /DEBUG /LARGEADDRESSAWARE /OPT:REF /LTCG ")
+ set(CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO} /DEBUG /LARGEADDRESSAWARE /OPT:NOREF /MAP /DYNAMICBASE:NO /FIXED /NXCOMPAT:NO")
+
+ # fix executable paths for windows
+ #SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${RUNTIME_OUTPUT_DIRECTORY})
+ #SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${RUNTIME_OUTPUT_DIRECTORY})
+ #SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO ${RUNTIME_OUTPUT_DIRECTORY})
+ #SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${RUNTIME_OUTPUT_DIRECTORY})
+
+ELSEIF(UNIX)
+ set(CMAKE_EXE_LINKER_FLAGS_DEBUG "${CMAKE_EXE_LINKER_FLAGS_DEBUG} -O0 -ggdb")
+ set(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} -mfpmath=sse -msse2 -mmmx -msse -msse3 -m3dnow -O2 -fomit-frame-pointer -fstrict-aliasing -ffast-math -ftracer")
+ set(CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO "${CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO} -O0")
+
+ # add additional gdb debugging stuff
+ set(CMAKE_SHARED_LINKER_FLAGS_DEBUG "${CMAKE_SHARED_LINKER_FLAGS_DEBUG} -O0 -ggdb")
+ set(CMAKE_MODULE_LINKER_FLAGS_DEBUG "${CMAKE_MODULE_LINKER_FLAGS_DEBUG} -O0 -ggdb")
+endif(WIN32)
+
+include(CMakeDependenciesConfig.txt)
+
+
+add_subdirectory(source)
Oops, something went wrong.

0 comments on commit de6e285

Please sign in to comment.