Commit Graph

30 Commits (9213067aee92ea935a488669b07fe35b7bdb8a75)

Author SHA1 Message Date
cc9cii 5889fd5bd9 Try hard coding OSX paths. 10 years ago
cc9cii 142a825ad6 For OSX support. 10 years ago
cc9cii 6b9b02dc1a Giving up, revert CMake changes. 10 years ago
cc9cii 0171bde363 Another variation. 10 years ago
cc9cii c7e57e8d88 Another attempt for osx build. 10 years ago
cc9cii f29227629a Experimenting with FindOGRE for osx. 10 years ago
cc9cii f459adf117 Revert CMake changes (didn't work for osx anyway) 10 years ago
cc9cii 758ce0ed98 Various fixes as per feedback comments. 10 years ago
cc9cii 3aea1bf5f9 CMake changes for using Ogre Overlay. 10 years ago
slothlife f6b2e7d5fd Fix building on Win32 11 years ago
root 3cd98e5259 fix code v5 10 years ago
root d8772156a7 fixe all code v 2 11 years ago
root 16aafc26bc fixed cmake for build on all plaforms include android 11 years ago
slothlife 20dabaead9 Fix CMake scripts to link static dependencies
Added FindDirectX scripts from Ogre so that FindOgre.cmake doesn't
fail silently to find the libraries correctly.

Modified top-level CMakelists.txt:
- Correctly set include dirs, preprocessor definitions, and add
  libraries for static Ogre plugins.
- Correctly set preprocessor definitions for static MyGUI.

Modified launcher, openmw, and opencs to link the static Ogre plugins.

Fixed FindSDL2.cmake to set a variable that contains only the SDL2
library, so that the launcher doesn't incorrectly link against
SDL2main.

Fixed FindMyGUI.cmake to correctly look for static variants.

Fixed FindOgre.cmake to set variables for DirectX plugins correctly.
11 years ago
Bret Curtis 729ca1bfdd remove debug code 11 years ago
Bret Curtis 862f2f0883 added keywords for debian and switch to dyn libs in travis 11 years ago
k1ll 5abaf1fee2 Check if searching OGRE dir with version suffix failed. I'm not sure if this is the right way to do it though. 13 years ago
k1ll 1f76f37531 Adds search for plugins in OGRE dirs with version suffix and a workaround for a strange problem with set to FindOgre.cmake. 13 years ago
k1ll 7d81422c27 Better fix for the Framework problem. 13 years ago
k1ll c5bbbee9c1 Added needed cmake files and added a comment to clarify the changes in FindOgre.cmake 13 years ago
k1ll b7eb7ff8e3 Added support for linking static Ogre libraries and plugins into the launcher and openmw. 13 years ago
Marc Zinnschlag be70d197e5 Merge branch 'next'
Conflicts:
	.gitignore
	cmake/FindOGRE.cmake
13 years ago
Alexander "Ace" Olofsson bfb3a4a36b Changed FindOGRE a bit to make it easier to find a source build of Ogre. (At least on windows) 13 years ago
Pieter van der Kloet 7bf8497215 Fixed CMake problem with Ogre plugins path 13 years ago
Pieter van der Kloet c255c519e4 Replaced FindOGRE.cmake, this one looks for debug libraries too 13 years ago
Nikolay Kasyanov eaea48011d Now working mac app bundle generated during build
(includes plugins & resources).
Still need to copy frameworks before deployment.
FindOGRE.cmake finds Ogre plugins dir on OS X.
Default OS X data path set to the data subdir
near .app.
README_Mac updated.
14 years ago
Jan-Peter Nilsson 753a4f681e Search for plugins in orgre lib directory 14 years ago
Diggory Hardy 39614c6813 CMake configuration tweaks
Make the PkgConfig search for OGRE libraries and headers happy when custom paths are set.
Check the uuid/uuid.h header is found.
14 years ago
Ardekantur 0de198980c initial commit of mac build 15 years ago
Nicolay Korslund 7238847b8b CMake for Windows-patch by Sylvain T (NOT YET TESTED). Includes update to Mangle.
Details:
- create a sub directory to store CMake scripts (later more to come)
- add a search Ogre package script (may be replaced later by "official" Ogre 1.7 search script, since they switched to CMake, yeah !)
- fixed header issues being not available with MSVC and replaced by equivalent functions if assumed portable enough
15 years ago