scrawl
b26478b860
Merge pull request #1028 from kpp/find_osg_plugins
...
Find osg_plugins
2016-08-16 17:05:44 +02:00
scrawl
ec14fe4d4c
Merge pull request #1026 from kpp/find_sphinx
...
Fix FindSphinx.cmake
2016-08-16 16:49:43 +02:00
Roman Proskuryakov
0d83121a6f
Removes unused FindPkgMacros
2016-08-16 06:06:30 +03:00
Roman Proskuryakov
95dc1258d6
Rewrites find_package for OpenSceneGraph plugins using LibFindMacros and osg_find_library
2016-08-16 06:06:30 +03:00
Roman Proskuryakov
ed2c2170f0
Rewrites FindSDL2 using LibFindMacros
2016-08-15 23:57:39 +03:00
Roman Proskuryakov
3df57b1833
Fixes LibFindMacros for libfind_process
2016-08-15 23:55:53 +03:00
Roman Proskuryakov
2311969f05
Reduce the number of copypaste in FindSphinx.cmake
2016-08-15 22:29:07 +03:00
David Cernat
d9cfd5bac2
Resolve conflicts with OpenMW
2016-08-15 19:14:13 +03:00
scrawl
a44ba0e461
Merge pull request #966 from kpp/find_mygui
...
Find mygui
2016-08-15 16:36:48 +02:00
Roman Proskuryakov
e0e69a8d8a
Rewrites FindMyGUI with LibFindMacros
2016-08-15 15:59:02 +03:00
David Cernat
8686b9cc12
Merge pull request #29 from OpenMW/master
...
Add OpenMW commits from end of July
2016-08-04 00:56:36 +03:00
Koncord
1f0d6eba80
Fix FindRakNet
...
Added ws2_32 for Windows
Fixed path to headers
2016-08-02 18:41:50 +08:00
Aesylwinn
b4a000913c
Merge remote-tracking branch 'yar/master' into Even
...
# Conflicts:
# CMakeLists.txt
# apps/openmw/mwdialogue/filter.cpp
# apps/openmw/mwmechanics/character.cpp
# apps/openmw/mwworld/localscripts.cpp
# components/CMakeLists.txt
# components/compiler/exprparser.cpp
# components/sceneutil/workqueue.cpp
2016-07-17 23:50:52 -04:00
Koncord
1a32385632
Fix cmake modules
2016-07-12 20:37:39 +08:00
Koncord
1b259e2d33
Syncing inventory, animations, position, 8 key attributes
...
Created Package system
2016-07-07 23:50:48 +08:00
Koncord
1e29409dd5
Add OpenMW-mp target
2016-07-07 23:50:38 +08:00
Bret Curtis
ac8d347e9e
we have html output and autodoc functionality
2016-07-05 12:07:31 +02:00
Roman Proskuryakov
39963a2c85
Removes PreprocessorUtils.cmake
...
Replaces get_version_from_n_defines -> libfind_version_n_header
2016-06-28 13:03:16 +03:00
Roman Proskuryakov
4d0544e61a
Adds FindTinyXML.cmake
2016-06-12 21:05:01 +03:00
Roman Proskuryakov
57b75d2cd1
Teaches LibFindMacros to find version from 'const int NAME = 42;'
2016-06-12 21:05:01 +03:00
Roman Proskuryakov
edb41b5b08
Rewrites FindLIBUNSHIELD using LibFindMacros
...
Renames LIBUNSHIELD_INCLUDE_DIR -> LIBUNSHIELD_INCLUDE_DIRS, LIBUNSHIELD_LIBRARY -> LIBUNSHIELD_LIBRARIES
2016-06-12 14:44:04 +03:00
Roman Proskuryakov
3bcd23022a
Rewrites FindBullet using LibFindMacros handling version properly
2016-05-31 07:18:37 +03:00
Roman Proskuryakov
280b20ccb7
Fix libfind_process for quiet packages
2016-05-31 07:18:36 +03:00
Roman Proskuryakov
f23b551bfa
Rename FFMPEG_SDK -> FFMPEG_HOME as it is said in wiki
...
Fix #942
2016-05-30 04:26:31 +03:00
Roman Proskuryakov
63ca8b73fc
fix: use Freetype in FindMYGUI instead of FREETYPE
2016-05-29 03:33:06 +03:00
Roman Proskuryakov
bd804d30a4
Rewrites FindFreetype using LibFindMacros
2016-05-11 08:47:03 +03:00
Roman Proskuryakov
da59ef0f67
Rewrites FindFFmpeg using LibFindMacros handling components properly
2016-05-10 12:43:54 +03:00
Roman Proskuryakov
81dd164006
Adds CMake module LibFindMacros to reduce pain in find modules
2016-05-09 23:35:33 +03:00
Roman Proskuryakov
16fbce91c2
Implements macro get_version_from_n_defines inside PreprocessorUtils
2016-05-09 23:35:33 +03:00
scrawl
9eb96b9cb6
Parse the bullet version in FindBullet.cmake
2016-02-15 14:34:59 +01:00
Hristos N. Triantafillou
97bcdf7904
Properly find MyGUI in /usr/local/lib
2016-01-16 16:42:54 -06:00
sandstranger
48f4fc34eb
build fixes for Android
2016-01-05 15:37:17 +03:00
sandstranger
bd5057aa3c
enable opengl es1
2015-12-02 22:40:04 +03:00
Nikolay Kasyanov
fff6b5fde1
OS X: remove custom bundle utilities, ones from CMake versions >= 3.1.0 are good enough
2015-11-14 13:50:01 +01:00
Sebastian Wick
b68f64ed97
adjust FindMyGUI.cmake to correctly handle REQUIRED and QUIETLY
2015-09-06 21:46:05 +02:00
Nikolay Kasyanov
c868010c20
OS X: don't consider libs from /usr/local
as "system dependencies" during packaging
...
Otherwise they won't be moved into final application bundle.
2015-08-10 23:15:31 +02:00
Nikolay Kasyanov
5fba7400a6
Borrow modified bundle utilities from https://github.com/Slicer/Slicer
...
They support dependencies with @rpath
2015-08-10 23:15:31 +02:00
Marc Zinnschlag
b3ad983f1f
Merge remote-tracking branch 'scrawl/version'
...
Conflicts:
apps/openmw/mwgui/windowmanagerimp.cpp
2015-07-18 12:22:37 +02:00
scrawl
f09e4620b6
Move OpenMW version information to a textfile instead of compiling it in
...
Now we don't need to recompile 3 .cpp files and re-link whenever the current git HEAD changes.
2015-07-18 03:09:04 +02:00
slothlife
83ef1f7eea
Add support for linking OpenSceneGraph statically
...
Added some basic support for linking to OpenSceneGraph and its plugins
statically. Also added a library necessary to statically link MyGUI
(previously Ogre pulled it in).
2015-07-17 00:56:15 -05:00
scrawl
71509d2497
Remove cmake script Ogre leftovers
2015-06-04 15:59:24 +02:00
scrawl
4bb3cbf0fb
Remove last remains of Ogre
2015-06-03 23:04:35 +02:00
scrawl
4f0387bdb5
Fix for recent merge
2015-06-03 18:34:47 +02:00
scrawl
974fda5bde
Merge branch 'master' of https://github.com/OpenMW/openmw into osg
...
Conflicts:
extern/sdl4ogre/sdlwindowhelper.cpp
2015-06-03 03:18:29 +02:00
scrawl
b75d993da4
Fix for BULLET_DYNAMICS_LIBRARY cmake leftover
2015-05-29 14:25:47 +02:00
scrawl
1f00174c02
Use a btCollisionWorld instead of btDiscreteDynamicsWorld
...
Slightly improves performance, since we no longer need to stepSimulation(). We don't use any Dynamics (yet).
2015-05-27 23:09:38 +02:00
k1ll
31db37afd4
FindMygui mingw
2015-04-29 18:31:28 +02:00
scrawl
48a6d7c1a0
Remove mygui platform libraries from cmake
2015-04-28 16:33:30 +02:00
scrawl
4e69e7cc0f
OpenMW compiles and runs w/o render window
2015-04-01 17:02:15 +02:00
scrawl
9d07edda13
UnitTests: remove GMock which wasn't used anyway, and the gmock headers fail to compile together with gtest on ubuntu 14.04
2015-01-09 20:53:43 +01:00
Marco Schulze
3024c67995
Regenerate components/version/version.hpp as HEAD moves on a git checkout
...
Pull request #416 introduced a common bug where version.hpp wouldn't be
regenerated every build, poteantially leading to stale version data. This
commit adds a custom build target, git-version, which updates version.hpp
before the components library is built.
2014-12-30 18:37:33 -03:00
Marco Schulze
d92cd2ffad
Remove GetGitRevisionDescription.cmake
...
GetGitRevisionDescription.cmake uses a somewhat contrived method to obtain the
hash of the commit pointed by the repository's HEAD. This method fails on
unusual, but still valid repository layouts.
This commit removes cmake/GetGitRevisionDescription.cmake{,.in}, replacing its
functionality with direct use of Git's plumbing.
2014-12-27 00:26:35 -03:00
cc9cii
69d0c7fd70
Cleanup leftover from previous osx support attempts.
2014-10-25 10:40:33 +11:00
cc9cii
5889fd5bd9
Try hard coding OSX paths.
2014-10-15 16:42:05 +11:00
cc9cii
142a825ad6
For OSX support.
2014-10-15 09:51:20 +11:00
cc9cii
6b9b02dc1a
Giving up, revert CMake changes.
2014-10-13 19:31:38 +11:00
cc9cii
0171bde363
Another variation.
2014-10-13 19:15:17 +11:00
cc9cii
c7e57e8d88
Another attempt for osx build.
2014-10-13 18:59:15 +11:00
cc9cii
f29227629a
Experimenting with FindOGRE for osx.
2014-10-13 18:55:30 +11:00
cc9cii
f459adf117
Revert CMake changes (didn't work for osx anyway)
2014-10-12 22:30:08 +11:00
cc9cii
758ce0ed98
Various fixes as per feedback comments.
2014-10-12 21:15:50 +11:00
cc9cii
3aea1bf5f9
CMake changes for using Ogre Overlay.
2014-10-04 05:48:56 +10:00
cc9cii
862c5fc8f6
Add libavresample support. Tested on windows x64 only.
2014-09-11 16:47:00 +10:00
cc9cii
c6cad5adc5
Make cmake more reliably detect libswresample
2014-09-04 18:55:10 +10:00
cc9cii
6138d0c982
Attempt to work around travis.
2014-09-01 22:09:07 +10:00
cc9cii
944f99b23a
Initial commit of FLTP format binkaudio support. Converts to FLT format by manually interleaving decoded samples. swresample library is included with a view to use swr_convert() in future versions, but not used in this commit.
2014-08-31 13:20:33 +10:00
scrawl
1baf0f7bb2
Add version parsing to FindMyGUI.cmake
2014-08-26 16:56:04 +02:00
slothlife
f6b2e7d5fd
Fix building on Win32
2014-08-10 18:28:38 -05:00
root
3cd98e5259
fix code v5
2014-09-06 02:02:39 +04:00
root
d8772156a7
fixe all code v 2
2014-08-06 00:46:21 +04:00
root
16aafc26bc
fixed cmake for build on all plaforms include android
2014-08-04 19:49:54 +04:00
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.
2014-06-02 02:51:04 -05:00
Thoronador
320411f5b3
remove unused CMake files for Audiere, MPG123 and Sndfile
2014-05-03 21:05:45 +02:00
scrawl
79f32546e1
Dead link fix
2014-04-20 19:28:25 +02:00
scrawl
9089df3080
Add unity build option
...
Each component and each MW-subsystem will be used as a single compilation unit.
2014-03-16 23:49:12 +01:00
pvdk
b43325119a
Some changes to the version retrieval: ignore shallow clones
2014-02-19 14:19:08 +01:00
pvdk
85b7240948
Made the git version retrieval more reliable
2014-02-19 13:43:14 +01:00
scrawl
ae5d25ac58
FindSDL.cmake is unused
2014-02-19 11:23:03 +01:00
scrawl
fb0c5be536
Don't suppress git error output
2014-02-13 10:13:03 +01:00
pvdk
43bc223e68
Added version info retrieval from git tags
2014-01-22 17:04:49 +01:00
Scott Howard
2f082ef796
remove unneeded libraries
2013-12-29 16:25:49 -05:00
Bret Curtis
729ca1bfdd
remove debug code
2013-11-20 10:18:49 +01:00
Bret Curtis
862f2f0883
added keywords for debian and switch to dyn libs in travis
2013-11-20 10:16:51 +01:00
Tom Mason
8d232aca35
changed libunshield filename to satisfy travis
2013-08-19 20:48:20 +01:00
Tom Mason
865a7c63df
cmake for system libunshield
2013-08-19 20:20:00 +01:00
Bret Curtis
84a8ea4ef7
static sdl2 compilation option for Unixes that are not Apple
2013-06-18 14:31:47 +02:00
scrawl
ab3634d692
Removed some remains of OIS
2013-06-12 20:13:19 +02:00
scrawl
495aeb5d3b
Merge branch 'master' into HEAD
...
Conflicts:
CMakeLists.txt
apps/openmw/engine.cpp
apps/openmw/mwgui/cursorreplace.cpp
apps/openmw/mwgui/cursorreplace.hpp
apps/openmw/mwgui/windowmanagerimp.cpp
apps/openmw/mwgui/windowmanagerimp.hpp
apps/openmw/mwinput/inputmanagerimp.cpp
libs/openengine/ogre/renderer.cpp
2013-06-12 12:34:33 +02:00
Bret Curtis
40b6b4afc5
fix cmake typo that effects windows devs
2013-03-08 11:31:52 +01:00
Alexander "Ace" Olofsson
d5aa975675
Fix some issues that seem to have appeared in the CMake configuration.
2013-02-27 23:44:20 +01:00
Nathan Jeffords
7ea1f6a02a
fixes for using FFMPEG on windows
2013-02-24 09:42:08 -08:00
Michal Sciubidlo
f7e5ea24f4
Merge branch 'startup' into cs_load.
...
Fix include in textinputdialog.cpp.
2013-02-05 21:23:49 +01:00
Marc Zinnschlag
a002b253d1
silenced a cmake warning
2013-02-03 16:18:17 +01:00
Marc Zinnschlag
a4872e3217
rewrote the opencs cmake scripts (more compact and no more annoying warnings)
2013-02-03 13:30:40 +01:00
Michal Sciubidlo
f029a9011a
Move datafilespage to shared space.
2013-01-30 20:21:03 +01:00
Jordan Milne
2639bc4383
Another temp fix for windows
2013-01-12 18:53:00 -04:00
Jordan Milne
b6ec64485c
fix includes for Windows
2013-01-12 17:52:26 -04:00
Jordan Milne
6449f68d61
Merge branch 'master' into sdl_input
2013-01-08 06:24:31 -04:00
Jordan Milne
884d3ea4d8
Rip out OIS, fill the holes with SDL goodness. WIP.
2013-01-08 06:19:05 -04:00
scrawl
f1b138d0a8
Merge branch 'master' into videoplayback
...
Conflicts:
apps/openmw/mwscript/docs/vmformat.txt
2013-01-07 13:25:15 +01:00
scrawl
35f4d09288
swscale handled better (cmake)
2013-01-07 13:06:16 +01:00
Nathan Jeffords
008d6d6589
added additional library search paths to find bullet
...
This allowed CMake to correctly build Visual Studio 2010 project files against a windows compiled version of bullet (2.81 rev 2613)
2013-01-01 10:57:58 -08:00
scrawl
c49966dd29
started over
2012-12-11 22:49:31 +01:00
scrawl
d432420a32
fix FindFFmpeg.cmake
2012-12-01 20:53:28 +01:00
Lukasz Gromanowski
34513cf16b
Added support for code coverage checking and unittests.
...
Added support for code coverage checking with gcov and
unittests with Google C++ unittest and GMock frameworks.
Signed-off-by: Lukasz Gromanowski <lgromanowski@gmail.com>
2012-08-19 22:23:46 +03:00
Michael Mc Donnell
18fd14ff75
Workaround for FindMyGUI.cmake path space bug on Windows.
...
See bug 353 http://bugs.openmw.org/issues/353
2012-08-01 11:45:29 -04:00
scrawl
17a5c22c8f
don't use globbing
2012-07-20 23:31:49 +02:00
scrawl
4ea6530772
hello world.
2012-07-04 00:26:57 +02:00
Sylvain THESNIERES
7354d1eccb
CMake fixes:
...
- Fix environment variable in Bullet
- Remove spurious message in MyGUI
2012-06-08 19:54:12 +02:00
Nikolay Kasyanov
677a907528
fixed comment
2012-04-15 21:37:33 +02:00
Nikolay Kasyanov
1b5d327f7e
Fixed OS X build with static MyGUI
2012-04-15 19:02:27 +02:00
k1ll
f2c4e513a4
Add support for building with a static build of the MyGui Libraries.
2012-04-05 13:01:09 +02:00
Roman Melnik
ef2f7e841a
Merge branch 'master' of github.com:Kromgart/openmw
2012-03-28 23:08:39 +03:00
Marc Zinnschlag
6c8be7205a
build fix
2012-03-27 20:13:48 +02:00
Alexander "Ace" Olofsson
55f1053b4f
Windows fixes for compiling and linking
2012-03-27 00:36:53 +02:00
Roman Melnik
978b5f64d8
Merge cmake/findBullet patch for '_debug' postfixed libraries
...
Merge in the patch from the cmake official repository:
https://cmake.org/gitweb?p=cmake.git;a=commit;h=6f935d7f55af5c96d18d23b72991e87d1e029dda
Without this fix cmake couldn't find bullet's debug libraries,
and VS2010 openmw project file was generated with links to
release libraries instead (which caused errors during build
in debug configuration).
2012-03-25 23:53:14 +03:00
scrawl
66baf9ec81
Merge branch 'master' into mygui
2012-03-20 20:02:30 +01:00
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.
2012-03-19 15:04:55 +01:00
k1ll
1f76f37531
Adds search for plugins in OGRE dirs with version suffix and a workaround for a strange problem with set to FindOgre.cmake.
2012-03-19 14:25:33 +01:00
scrawl
3a00fbb950
removed mygui from source tree and use system install instead
2012-03-18 15:11:37 +01:00
k1ll
7d81422c27
Better fix for the Framework problem.
2012-03-16 19:17:10 +01:00
k1ll
c5bbbee9c1
Added needed cmake files and added a comment to clarify the changes in FindOgre.cmake
2012-03-15 21:37:55 +01:00
k1ll
b7eb7ff8e3
Added support for linking static Ogre libraries and plugins into the launcher and openmw.
2012-03-15 15:51:39 +01:00
Marc Zinnschlag
be70d197e5
Merge branch 'next'
...
Conflicts:
.gitignore
cmake/FindOGRE.cmake
2012-03-02 12:11:44 +01:00
Alexander "Ace" Olofsson
bfb3a4a36b
Changed FindOGRE a bit to make it easier to find a source build of Ogre. (At least on windows)
2012-02-27 22:22:17 +01:00
Pieter van der Kloet
7bf8497215
Fixed CMake problem with Ogre plugins path
2012-02-07 21:41:08 +01:00
Pieter van der Kloet
efe3a3fcbe
Merge branch 'master' of https://github.com/zinnschlag/openmw into cmakeogre
2012-02-07 21:38:16 +01:00
Pieter van der Kloet
c255c519e4
Replaced FindOGRE.cmake, this one looks for debug libraries too
2012-01-31 21:10:40 +01:00
Marc Zinnschlag
61dd1922b0
more specific cmake source file GLOBing
2012-01-28 14:16:25 +01:00
Pieter van der Kloet
ea241d85ef
Fixed some issues with the CMake files
2012-01-28 01:36:17 +01:00
Marc Zinnschlag
cb1373a4c7
rewrote cmake scripts for components
2011-11-06 09:30:15 +01:00
Alexander "Ace" Olofsson
255f948bae
A small fix to add all the files and not just the first one CMake finds
2011-10-30 18:43:27 +01:00
Marc Zinnschlag
dc878e2c30
testing MSVC fix, another try
2011-10-22 22:40:31 +02:00
Marc Zinnschlag
77d1f1f8a1
testing MSVC fix
2011-10-22 16:46:28 +02:00
Marc Zinnschlag
ad086312b8
testing: cmake script simplification
2011-10-22 13:55:06 +02:00
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.
2011-04-28 21:55:05 +02:00
Marc Zinnschlag
8b2252e7a1
first attempt at building with bullet
2011-01-30 13:19:41 +01:00
Jan-Peter Nilsson
753a4f681e
Search for plugins in orgre lib directory
2011-01-13 21:18:20 +01:00
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.
2011-01-09 10:22:21 +01:00
Nicolay Korslund
f55362cbdc
Some Windows-help to cmake/FindAudiere.cmake + non-important changes.
2010-09-10 10:45:16 +02:00
Nicolay Korslund
358e1ca5a5
Added custom UTF8 converter. Removed iconv dependency.
2010-08-18 18:45:44 +02:00
Armin Preiml
6a936100a7
Merge remote branch 'upstream/master'
2010-08-16 20:11:38 +02:00
Nicolay Korslund
08289158d7
Added support for WAV files with libsndfile
2010-08-16 17:14:37 +02:00
Nicolay Korslund
912c8b1f2d
Added mpg123 file reader
2010-08-13 22:30:22 +02:00
Nicolay Korslund
cad9712411
Implemented FFMpeg sound loading. Selecting sound library is controlled through the CMake file.
2010-08-13 17:11:03 +02:00
Nicolay Korslund
34572f0b19
Compiled and linked in sound system (not yet functional)
2010-08-12 16:13:54 +02:00
Armin Preiml
305563e595
disabled char encoding method for windows, although you'll need to add the iconv libs
2010-08-08 10:07:02 +02:00
Armin Preiml
d81820303d
Added cmake file for the iconv library and extended relevant
...
cmake files to use it.
Added convertToUTF8 to esm_reader. getString(int size) uses this
method now.
2010-07-31 18:55:52 +02:00
Nicolay Korslund
fdb41f0774
Merged in CMake and header cleanups from zinnschlag
2010-06-06 18:01:29 +02:00
Marc Zinnschlag
c4a6fa56ea
cmake modifications for out of source build
2010-06-06 12:56:46 +02:00