This commit changes many aspect of our cmake build system
- shared libraries are compiled by default:
* this modifies RPATH of unix executables;
* this will prevent a lot of linking issues, esp. from pascal world;
* the old behaviour (static libs) is still available with -DBUILD_SHARED_LIBS=off;
* of course in this case you have to provide the full list of dependencies with FPFLAGS and CMAKE_C_FLAGS;
- pascal is now fully integrated with cmake, meaning you can just do add_sources and use CMAKE_Pascal_FLAGS:
* some of the language features are only partially implemented, for example .inc files will not get rebuilt if you modify them;
* target_link_libraries for pascal targets is just dummy as linking is determined within pascal files;
* universal builds for osx are not available any more;
- bundled libraries and system libraries are addressed using the target name:
* this avoids depedency tracking;
* this allows to name output as we wish.
glob:CMakeCache.txt
glob:CMakeFiles
glob:moc_*.cxx
glob:qrc_*.cxx
glob:*.o
glob:*.a
glob:*.qm
glob:Makefile
glob:bin
glob:*.hi
glob:*.ppu
glob:*.*~
glob:*.core
glob:hedgewars.pro.user
glob:config.inc
glob:cmake_install.cmake
glob:QTfrontend/hwconsts.cpp
glob:QTfrontend/servermessages.h
glob:CPackConfig.cmake
glob:CPackSourceConfig.cmake
glob:tools/cmake_uninstall.cmake
glob:install_manifest.txt
glob:.DS_Store
glob:*.swp
glob:*.orig
glob:*.diff
glob:vittorio.*
glob:project_files/HedgewarsMobile/Data/
glob:project_files/HedgewarsMobile/build/
glob:gameServer/dist/
glob:misc/libtremor/Xcode/build/
glob:misc/liblua/Xcode/build/
glob:misc/libfreetype/Xcode/build/
glob:misc/libfreetype/Xcode-iOS/build/
glob:misc/libphysfs/Xcode/build/
glob:misc/libphyslayer/Xcode/build/
glob:moc_*.cxx_parameters
relre:^release\/
glob:*.log
glob:*.cmd
glob:*.diff
glob:*.patch
glob:*.orig
glob:*.bak
glob:*.rej
glob:project_files/Android-build/SDL-android-project/jni/**
glob:project_files/Android-build/SDL-android-project/obj
glob:project_files/Android-build/SDL-android-project/libs/armeabi*
glob:project_files/Android-build/SDL-android-project/bin
glob:project_files/Android-build/SDL-android-project/gen
glob:project_files/Android-build/SDL-android-project/local.properties
glob:project_files/Android-build/SDL-android-project/project.properties
glob:project_files/Android-build/SDL-android-project/default.properties
glob:project_files/Android-build/SDL-android-project/proguard.cfg
glob:project_files/Android-build/SDL-android-project/.*
glob:project_files/Android-build/out
glob:project_files/Android-build/Makefile.android
glob:hedgewars-build-desktop-Qt*
glob:hedgewars-build-desktop-Qt*
glob:*.depends
glob:tools/build_windows_koda.bat
glob:share/hedgewars/Data/misc/hwengine.desktop
glob:*.exe
glob:_CPack_Packages/
glob:version_info.txt
glob:*.tar.*
glob:*.or
glob:*.res