12 Commits

Author SHA1 Message Date
Graham Pentheny
67ba9a2a15
Fix macOS CMake SDL linking (#584)
* Ignore cmake intermediate build dir

* Fix C++ language version in cmake build scripts

* Set a default SDL2_ROOT_DIR value for macOS in cmake scripts

* Fixed macOS SDL framework linking in cmake scripts

* Added macos-cmake target for CI builds in github workflows

* Use C++17 for building Tests instead of 20, since we build them with VS2019 in some jobs
2022-11-25 20:29:11 -05:00
Rubaka
c32297c2f9 Fixed run RecastDemo on MVS 2020-11-19 17:36:54 +01:00
Bret Curtis
14b2631527 Use Travis-CI Matrix to add more type of builds (#366) 2018-11-21 12:34:13 +01:00
Roman Siromakha
05b2b8da80 CMake for Windows (#339)
* Build with cmake in appveyor

* Install content files and tests binary to bin

* Install SDL2.dll on windows

* Build RecastDemo as GUI application on Windows and Mac OS

* Copy SDL2.dll to current binary dir
2018-06-18 23:11:36 +02:00
Jakob Botsch Nielsen
c2d7463a38 Add Clang to Travis and treat warnings as errors
The GCC version used by Travis is old and appears not to support all the
warnings we would like to get, so reenable Clang. Additionally make lots
of cleanups to Travis config and make the build a lot faster too.

Also change both Travis and AppVeyor builds to treat warnings as errors,
and include VS2017 in the matrix for AppVeyor. I have also removed
VS2010 because it is ancient at this point.

Updated Premake to alpha12 and fixed the premake build file
appropriately.
2018-06-16 17:04:54 +02:00
Roman Siromakha
4566d01c8f Support build by CMake (#310) 2018-04-21 00:16:52 +02:00
Mikko Mononen
be4d6fc180 Updated build system to premake4 2013-10-01 19:53:18 +02:00
Cameron Hart
ee4fa30c73 Fixes for MSVC CMake build.
Look in the right place for SDL libs depending on arch.
Output exe's to RecastDemo/Bin, with output suffix so different
configs don't clash.
2013-09-29 14:38:44 +10:00
Cameron Hart
57e003c3c6 CMake fix - removed hidden variable SDLMAIN_LIBRARY from TARGET_LINK_LIBRARIES, it's not needed. 2013-01-26 05:56:31 +00:00
Cameron Hart
81098f1fc7 Added NavMeshPruneTool to CMakeLists.txt. 2011-10-02 21:29:12 +00:00
Cameron Hart
2c9a3a0b4f Use FindSDL for MSVC builds too. Set the CMAKE_PREFIX_PATH so it looks in the Contrib/SDL directory for it. 2011-07-06 01:25:25 +00:00
Cameron hart
3cee73cb8c Added CMake files for Linux compilation and removed Makefiles build. CMake build should also work on Windows and MacOS for those who wish to use it. 2011-04-20 10:55:10 +00:00