Commit Graph

205 Commits

Author SHA1 Message Date
xapantu
e77690237c CMake build system improvements, it uses the cmake modules to find the libraries instead of the hardcoded system.
Irrlicht is autodetected if it is installed in /usr or /usr/local on linux
font_tool work (well, it does not work because there are some compilation error due to system specific libs I think, but I have it working if I change some code in src/font_tool/main.cpp, but I don't want to commit my modifications since I am not sure what this tool should do).
Detect when a library is not present and put an error when it is the cases.
Some paths change to have it working on out of source builds too.
Remove the DEBUG option, since cmake has already one to do that, -DCMAKE_BUILD_TYPE=Debug
Let me know if there are any problem/regressions with it, or just revert ;)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 19:18:49 +00:00
hikerstk
029e50381d Added more statistics for profile mode:
skidding-time, and time+count for rescues and exposions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-01 00:06:13 +00:00
funto66
9a5a7ddc85 Some updates to the CMake build system
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-24 18:40:20 +00:00
funto66
9b6ade95f7 Removed private path for Irrlicht: one should use cmake . -DIRRLICHT_DIR=/path/to/irrlicht && make
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-24 15:29:09 +00:00
funto66
05421e944a Started a CMake-based build system
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-24 14:29:16 +00:00