Anonymous Maarten
2a429e37f8
cmake: use OpenGL GLVND libraries by default
...
Needed since CMake 3.11.0: CMP0072 policy
2018-04-16 20:36:58 +02:00
Anonymous Maarten
728ac58768
cmake: move options and compiler configuration to separate files
2017-10-29 20:40:57 +00:00
Anonymous Maarten
55f910cfa2
tests: add CTest/CDash support
2017-10-29 20:40:57 +00:00
Anonymous Maarten
6f45bda04e
cmake: enable testing using ctest
2017-10-29 20:40:57 +00:00
Anonymous Maarten
73879954d9
cmake: reformat CMakeLists.txt
2017-10-29 20:40:57 +00:00
Anonymous Maarten
fbbc3ed76b
cmake: if (${XXX}) ==> if(XXX)
2017-10-29 20:40:57 +00:00
Anonymous Maarten
1926795d63
cmake: use rwengine::interface + no more add_definitions & include_directories
2017-10-29 20:40:57 +00:00
Anonymous Maarten
e5a8395d5c
cmake: use option for ON/OFF variables + let cmake-gui display properties
2017-10-29 20:40:57 +00:00
Anonymous Maarten
b7de8758ea
cmake: bump minimum required cmake version to 3.2.2
...
Apparently, travis-ci is using 3.2.2.
2017-10-29 20:40:57 +00:00
Filip Gawin
512ac6f5ee
Fix double promotion
2017-10-25 01:17:46 +01:00
Anonymous Maarten
a1333360c5
rwlib: Add option to abort/break on failed checks or at request
...
- RW_ABORT/RW_ASSERT/RW_BREAKPOINT are only defined in debug mode
- the callback is needed to unlock the mouse when entering
the debugger
2017-09-16 22:19:39 +01:00
darkf
ec2e940924
Remove libsndfile dependency
2017-09-16 19:50:51 +01:00
darkf
8e26431665
Remove dependency on libMAD (hurrah!)
2017-09-16 19:50:51 +01:00
darkf
6493908d5c
Link FFmpeg
2017-09-16 19:50:51 +01:00
John-Paul Harold
9a1d1033e7
Fix OpenAL includes (fixes OSX build)
2016-11-21 11:19:29 +00:00
Daniel Evans
b4aa01e4bb
Use C++14
2016-10-24 21:26:51 +01:00
Daniel Evans
cdebd16532
Remove iconv from CMake configuration
2016-08-23 00:05:25 +01:00
Kamil Rytarowski
0ef224df90
Add preliminary NetBSD support
...
The iconv(3) function on NetBSD has a custom prototype due to old mistake in
the POSIX specification. The issue has been resolved but we keep using original
form with a constified parameter.
2016-08-13 21:33:04 +02:00
Daniel Evans
2f0b24c6ea
Merge pull request #188 from danhedron/feature/cleanup-script
...
Script cleanup and remove old tool
2016-08-12 23:36:26 +01:00
Jannik Vogel
b821f2e5a7
CMake: Use Bullet include path returned by FindBullet
2016-08-12 02:14:15 +02:00
Daniel Evans
e76ed47f1c
Remove scripttool
2016-08-12 01:02:24 +01:00
Aaron Bieber
e8b28c7168
add support for OpenBSD
2016-08-11 17:51:27 -06:00
Daniel Evans
ded631dad6
Add Git SHA1 hash to RWGame for versioning
2016-08-01 19:34:53 +01:00
haphzd
114abe2286
Windows/MinGW-W64 compatibility
2016-07-28 14:46:48 +03:00
haphzd
8bb9c388a2
Build Release by default
2016-07-27 20:32:42 +03:00
orbea
27c6334cb1
CMake: Add BIN_DIR and DOC_DIR ( #165 )
...
* CMake: Add BIN_DIR and DOC_DIR
* CMake: Fix typo
2016-06-29 22:19:03 +01:00
Daniel Evans
9aaeb2ceda
Remove screenshot functionality, as it's broken.
2016-06-23 22:43:00 +01:00
Daniel Evans
465bd26d9d
Merge pull request #152 from JayFoxRox/travis-sdl
...
Replace SFML by SDL2 for Travis and scripttool
2016-06-23 21:08:42 +01:00
Daniel Evans
d36b813de2
Merge pull request #149 from danhedron/org/copy-license
...
Copy License to install
2016-06-23 00:47:32 +01:00
Jannik Vogel
9bfb9f8002
CMake: Use FindSDL2.cmake
2016-06-22 23:58:27 +02:00
Christoph Heiss
649f7b144d
Replace SFML with SDL2
...
This entirely replaces all remaining SFML pieces with SDL2 and
brings OpenRW up to OpenGL 3.3
2016-06-22 12:29:39 +02:00
Daniel Evans
65ee1911dc
Copy License file to build directory
2016-06-21 23:28:43 +01:00
Daniel Evans
dec57b4847
Install license to share/openrw on Linux and FreeBSD
2016-06-21 23:28:23 +01:00
Daniel Evans
dd70e41bbd
Add TESTS_NODATA to build tests without data
2016-06-16 21:22:18 +01:00
Timmy Sjöstedt
fef71de074
Removed SFML audio things
2016-05-30 20:06:33 +02:00
Timmy Sjöstedt
f5390ad4a6
Include libsndfile & OpenAL
2016-05-30 20:06:13 +02:00
Daniel Evans
46a7254a41
Use FindGLM
2016-05-29 00:44:31 +01:00
Dmitry Marakasov
c302f10b19
Add FreeBSD support
...
For now, there's only single OS-dependent bit of code, it it should be
handled on FreeBSD just like on Linux. While here, change macro testing
from #if XXX to #if defined(XXX), this is clener and not prone to
"undefined macro" errors
2016-05-25 18:32:17 +03:00
Timmy Sjöstedt
09c22150a0
Added RW_VERBOSE_DEBUG_MESSAGES option to control verbose messages
2016-05-24 17:32:40 +02:00
Daniel Evans
b58cc9b164
Restore script debugging features to trace script threads
2016-05-22 20:05:04 +01:00
Leonard König
fe0c93f0d7
[CMake] Use find_package config mode for GLM
...
GLM requires using the new config mode as it only ships a
glmConfig.cmake.
more info:
http://stackoverflow.com/q/34634850/4453524
https://cmake.org/cmake/help/latest/command/find_package.html
2016-05-21 21:44:01 +02:00
Marco Schmidt
8bccbeeaa7
move include_directories and use it on all platforms
2016-05-21 19:09:41 +02:00
Marco Schmidt
ab9d61643e
add GLM as an dependency
2016-05-21 19:04:56 +02:00
Christoph Heiss
4c2c42ef6a
Fix some OS X/Clang (build) errors.
...
For rwengine/src/engine/GameData.cpp, `#ifdef __unix__` is used, which
Clang on OS X does not define, thus not finding files while loading.
2016-05-20 16:28:47 +02:00
Christoph Heiss
d02b53e4ad
OS X: Add platform define
2016-05-20 16:24:51 +02:00
Daniel Evans
2ee4a6e533
Add configuration file to replace OPENRW_GAME_PATH env var
...
This will permit the storage of other user settings like language and
video settings.
2016-05-20 02:10:11 +01:00
Daniel Evans
9f85f283cb
CMake: FindSFML+FindMAD, set library paths as SYSTEM, remove dead stuff.
2016-05-19 22:30:06 +01:00
Daniel Evans
d2f254731a
Increase warnings to pedantic and fix rwlib/rwengine warnings
2016-05-01 22:30:15 +01:00
Daniel Evans
b0a2ae4da5
Implement a trivial profiler for perf. overview
2016-04-26 23:35:04 +01:00
Daniel Evans
61b47192c1
Change the Profiling flag to be shorter
2016-04-19 01:22:41 +01:00