deve
0943f0ed76
Add debug flags for mingw
2014-09-29 13:35:17 +02:00
hiker
3d4f054df8
Fix pre cmake 3.0 usage.
2014-09-23 21:01:04 +10:00
deve
8eb51f78b4
Fixed warning in cmake 3.0 and above.
...
If I understand correctly, the COMPILE_DEFINITIONS_DEBUG property is ignored in newer versions of cmake. I fixed it by forcing to use old method.
2014-09-23 09:11:39 +02:00
hiker
69473b1811
Try to include glew in stk.
2014-09-15 16:33:46 +10:00
deve
e6ab299f37
Fixed mingw compilation
2014-09-12 09:01:35 +02:00
vlj
b63654a40c
Detect Glew in CMake
2014-09-05 18:19:10 +02:00
vlj
9866ecea29
Enable openMP flags in cmake
2014-09-03 17:18:49 +02:00
deve
e57b927c96
Allow to compile STK on Windows using MinGW compiler.
...
It needs vorbis dll's as additional dependencies.
TODO: add an alternative to inet_ntop function.
TODO: link wiimote library
2014-09-03 14:08:23 +02:00
Deve
0fa38161b5
Install icons in $PREFIX/share/icons/hicolor path.
...
Don't use static paths in .desktop file. Actually I don't know about any application which uses it :P
2014-08-24 21:58:34 +02:00
Deve
4584464798
Add icon to exe file as resource.
...
It's hard to test for me because currently I can compile it only on virtual machine and it takes long time.
But it should work.
2014-08-21 21:38:59 +02:00
Deve
7a9e77da01
Exit cmake with error if xrandr library was not found.
2014-08-13 19:34:53 +02:00
Vlj
483ad109e3
Return of the ASAN option
2014-08-12 20:19:31 +02:00
Vlj
f633736dcc
Remove AddressSanitizer build, it doesnt work.
2014-08-12 00:54:14 +02:00
Vlj
0a6a85ea61
Use AddressSanitizer in debug build
2014-08-12 00:32:24 +02:00
Deve
b11fd2aaf6
xrandr: now it seems to work fine. I enable it for testing.
...
This should be useful for people which have two or more display devices. It changes resolution only on main screen and leaves other screens untouched.
Currently I use screen which is the most on left (or on top). Ideally we should be able to choose in settings which screen we want to use. But support it on all platforms is rather too much of work. We could also detect from which screen STK was executed. This can be done differently on different window managers, but nothing impossible. Maybe in future.
Perhaps we should add fallback using old xrandr method.
BTW. in some specific cases it works better than SDL2 ;-)
2014-07-30 21:30:43 +02:00
Deve
b9eb981fcc
Some cleanup with USE_XRANDR flag
2014-07-25 19:24:35 +02:00
hiker
1350cc5985
Applied fix from b69a1d225a
...
to fix wiiuse compilation (esp. on travis-ci); enabled WIIUSE by default to test.
2014-07-14 14:21:02 +10:00
vlj
a17e4c47f9
Disable WIIUSE by default on linux.
2014-07-12 00:46:19 +02:00
vlj
ba38819fff
Enable CPP2011 on linux.
2014-07-12 00:38:03 +02:00
Deve
b1395a8fe0
Install assets in data directory
2014-05-17 16:28:05 +02:00
Deve
4331a5c0a3
Few more checks for assets
2014-05-17 14:37:55 +02:00
Deve
0b463f5222
Allow to run xrandr instead of vidmode as an option
2014-05-12 20:08:15 +02:00
hiker
d4b263761e
Fix #1231 - stk-code/data not found on windows (secondary report).
2014-05-07 13:23:22 +10:00
hiker
84a1e32ade
Let cmake test if stk-assets exists in the expected place. If not,
...
cmake is aborted with an error message. The option -DCHECK_ASSETS=off
option can be used to disable this test. The latter is also used
for travis.
2014-04-24 14:22:38 +10:00
hiker
9c35da4b6c
Merge branch 'master' of https://github.com/abhishek1995/stk-code into abhishek1995-master
2014-04-24 14:01:37 +10:00
Vincent Lejeune
849709ec1d
Revert some CPP2011 related changes.
2014-04-12 00:07:19 +02:00
vlj
443b758e20
Add shaders to MSVC target.
2014-04-11 20:56:23 +02:00
vlj
a6abda9115
Yet another attemp to c++0x support in travisCI
2014-04-11 01:17:42 +02:00
vlj
0d90ecda16
Another attempt at fixing ci build.
2014-04-11 01:01:38 +02:00
vlj
f58cf57768
Add gnu++11 flag to unix build.
2014-04-11 00:42:33 +02:00
abhishek1995
96fe29eb84
Update CMakeLists.txt
2014-03-06 21:13:53 +05:30
abhishek1995
62869dc92f
Update CMakeLists.txt
...
This commit includes checking whether ../data directory (from build directory) and ../../stk-assets directory (from build directory) exists or not. If they don't exist, then it gives error message for the corresponding directory. I have included the code for this on line 320.
2014-03-06 20:51:09 +05:30
KroArtem
d2179e960d
#1156 , fix quotes in CMakeLists files, see http://cmake.org/Wiki/CMake/Language_Syntax#Quoting for more info
2014-02-21 23:09:10 +04:00
samuncle
65a72f2ba8
Correcting a bug with the linker
2014-01-22 02:26:30 +01:00
hiker
e891adc8a4
Improved cmake configuration to copy the dlls into the bin
...
folder, which makes it much easier to start STK from within VS
(just set supertuxkart to be the startup project). Note that
this requires the new dependencies_for_0.8.2.zip to be installed!
2014-01-22 10:23:08 +11:00
hikerstk
1265abd4a0
Remove definition of NDEBUG for VS (since VS will define this
...
automatically in release builds), and add -DDEBUG in VS only
for debug builds.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2014-01-07 02:04:31 +00:00
hikerstk
86b1b67c61
Fixed windows compilation (missing lib), and some compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-12-06 03:54:31 +00:00
hikerstk
ac0b0eb7fb
Fixed name of supertuxkart.appdata, added (untested) installation support for that file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-28 06:20:36 +00:00
auria
9e7e80eed3
Restore missing OSX files and adjust CMakeList
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14518 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-22 00:27:33 +00:00
hikerstk
fb186d676c
Enable wiiuse by default.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14469 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-17 23:01:21 +00:00
funto66
3478d55236
Only expose USE_CPP2011 option for relevant platforms (UNIX-like)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-11-14 22:17:46 +00:00
funto66
1b76d5d04d
Enable multi-processor compilation on Visual Studio (faster)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-10-22 13:28:06 +00:00
deveee
0647c7cd4c
Testing commit
...
Added the same icons which are for Windows - in src/windows_installer/icon.ico.
They have higher quality than previous. I also added icon 128x128 as default.
It looks much better in Gnome 3.x and probably other desktop environmetns.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13606 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-30 18:46:11 +00:00
hikerstk
72a2b69695
1) Moved header and source file into the same folder for VS.
...
2) Fixed using/building WIIUSE on VS when created from cmake.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-08-05 06:10:31 +00:00
hikerstk
12deb466be
Fixed several problems when createing VS project files with cmake:
...
1) gcc flags were used, and -Wall for irrlicht caused 1000's of
useless warning messages.
2) Force static build of irrlicht.
3) Remove unnecessary dist target (which is unix only).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-07-25 07:19:30 +00:00
auria
1cb4d02075
Some minor cleanup in cmake
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12556 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-15 23:02:05 +00:00
auria
cab6469443
Complete Cmake OSX 10.7 support. Hopefully Cmake is now ready to take over the manually maintained Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-14 23:10:20 +00:00
auria
8baa499323
Tweak CMake's ability to generate Xcode projects in addition to makefiles on OSX
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12550 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-14 02:06:09 +00:00
auria
a9056ee6bc
Adapt CMake to make it able to compile on OSX in 10.5 compatibility mode. The next step might be removing the Xcode project, less maintenance...
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-14 01:39:23 +00:00
auria
d4fa9e0cb6
Finalize integration of cmake build on osx with builtin irrlicht
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12548 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-13 04:03:26 +00:00