Commit Graph

88 Commits

Author SHA1 Message Date
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
auria
af17db18c4 Integrate irrlicht into the STK build system
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12546 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-03-13 01:31:09 +00:00
auria
0a3f9b6d93 Update for Wiiuse build on OSX, hope I broke nothing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12451 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-02-04 00:15:45 +00:00
auria
c44dbf4214 Work on tutorial
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 02:20:12 +00:00
auria
18ad621664 Update OSX compilation. Still uses irrlicht from the dependency pack
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11870 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-06 01:46:41 +00:00
auria
6487c5220c Switch CMake build system to use internal irrlicht on Linux. Probably breaks OSX, more to come
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11868 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-06 01:18:10 +00:00
auria
011d6c98f0 Move libs to a new directory
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-09-18 23:09:12 +00:00
undef-in-ed
0b329b1542 Bugfix: Overwriting PATH breaks gcc toolchain on some systems
This has been the reason for the IRRLICHT_WITH_XF86VM and
IRRLICHT_WITHOUT_XF86VM failures on some Linux machines.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11197 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-07 17:40:18 +00:00
undef-in-ed
5b6f7d7c31 CMake: finer control of install destinations
https://sourceforge.net/apps/trac/supertuxkart/ticket/271

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10982 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-16 23:15:23 +00:00
undef-in-ed
d606e7eab9 CMake: integrate (optional) "dependencies" directory
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 12:51:08 +00:00
undef-in-ed
3234653cea CMake: linking of pthread
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 12:50:51 +00:00
undef-in-ed
70bb244bbb CMake: fix whitespace errors
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 12:50:36 +00:00
undef-in-ed
9c1d373c4b CMake: workaround for Xxf86vm when building on X11 platforms
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 12:49:44 +00:00
undef-in-ed
6e148e2aaf CMake: mimic folder hierarchy with source_group for MSVC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-15 12:41:52 +00:00
auria
bdac17c748 CMake can now also generate cygwin makefiles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10962 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-12 00:48:52 +00:00
auria
f639458f26 CMake can now generate visual c++ projects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-10 23:16:57 +00:00
hikerstk
3c852e2891 Allow fonttool to be compiled on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 23:01:00 +00:00
auria
b250a20e50 Apply other patch by riebl to CMake, hopefully one of the last ;) stop manually linking the frameworks on OSX since the find modules add them, and remove sh-file from the list of files to compile
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 20:57:35 +00:00
auria
0b54129fa3 Apply patch by riebl to CMake build system that moves thing around a bit to make them better organized
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 20:40:06 +00:00
auria
1ff469d1a6 Apply another patch by riebl to move detection of Ogg/Vorbis to the find_package module in a subdir
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10936 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 17:07:16 +00:00
auria
c1a43b42aa Apply patch by rielb to make our use of custom build flags for release builds more CMake-standard
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 16:42:00 +00:00
auria
f75a7221f0 Apply patch by riebl to simplify install target
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10934 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 16:39:57 +00:00
auria
f3cd7480da Another imnprovement to CMake build system by riebl : don't rely on CWD for setting paths
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 16:35:11 +00:00
auria
3404d4cf46 Improvement to Cmake on OSX suggested by riebl, thanks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 01:46:38 +00:00
auria
09804299f4 Apply more cmake patches by riebl, the files are easier to read now, thanks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 01:07:26 +00:00
auria
3c2b69fb5c Apply a bunch of CMake patches by riebl, thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-06 00:18:51 +00:00
auria
cc33573368 Minor improvements to CMake build system suggested by riebl so that we are more standard and values corectly appear in CMake GUIs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-04 20:07:44 +00:00
hikerstk
3acb609edf Updated cmake file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-02 04:33:33 +00:00
hikerstk
30151b9176 Updated cmake file list.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-28 22:42:36 +00:00
hikerstk
a05c522d4a Updated cmake build file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-27 12:17:06 +00:00
auria
1032f9654d Update CMake build system to check for irrlicht version
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-02-02 16:15:28 +00:00
auria
708d79b2f4 Add dialog asking to select challenge difficulty. Crashes for now so don't report bugs yet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-28 02:06:44 +00:00
auria
0bf039c09e Update Xcode and CMake files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-27 23:47:21 +00:00