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.
<RCC>
<qresource prefix="/">
<file alias="Ammos.png">../share/hedgewars/Data/Graphics/AmmoMenu/Ammos.png</file>
<file>res/css/qt.css</file>
<file>res/css/chat.css</file>
<file>res/css/christmas.css</file>
<file>res/css/easter.css</file>
<file>res/css/birthday.css</file>
<file>res/hh25x25.png</file>
<file>res/hh25x25grey.png</file>
<file>res/ammopic.png</file>
<file>res/ammopicgrey.png</file>
<file>res/ammopicbox.png</file>
<file>res/ammopicboxgrey.png</file>
<file>res/ammopicdelay.png</file>
<file>res/ammopicdelaygrey.png</file>
<file>res/infinity.png</file>
<file>res/infinitygrey.png</file>
<file>res/botlevels/0.png</file>
<file>res/botlevels/1.png</file>
<file>res/botlevels/2.png</file>
<file>res/botlevels/3.png</file>
<file>res/botlevels/4.png</file>
<file>res/botlevels/5.png</file>
<file>res/botlevels/net0.png</file>
<file>res/botlevels/net1.png</file>
<file>res/botlevels/net2.png</file>
<file>res/botlevels/net3.png</file>
<file>res/botlevels/net4.png</file>
<file>res/botlevels/net5.png</file>
<file>res/campaign/A Classic Fairytale/first_blood.png</file>
<file>res/campaign/A Classic Fairytale/shadow.png</file>
<file>res/campaign/A Classic Fairytale/journey.png</file>
<file>res/campaign/A Classic Fairytale/united.png</file>
<file>res/campaign/A Classic Fairytale/backstab.png</file>
<file>res/campaign/A Classic Fairytale/dragon.png</file>
<file>res/campaign/A Classic Fairytale/family.png</file>
<file>res/campaign/A Classic Fairytale/queen.png</file>
<file>res/campaign/A Classic Fairytale/enemy.png</file>
<file>res/campaign/A Classic Fairytale/epil.png</file>
<file>res/bonus.png</file>
<file>res/Hedgehog.png</file>
<file>res/net.png</file>
<file>res/About.png</file>
<file>res/SimpleGame.png</file>
<file>res/Campaign.png</file>
<file>res/Multiplayer.png</file>
<file>res/Trainings.png</file>
<file>res/Background.png</file>
<file>res/BackgroundChristmas.png</file>
<file>res/BackgroundEaster.png</file>
<file>res/BackgroundBirthday.png</file>
<file>res/Exit.png</file>
<file>res/HedgewarsTitle.png</file>
<file>res/LocalPlay.png</file>
<file>res/NetworkPlay.png</file>
<file>res/NetworkPlayDisabled.png</file>
<file>res/audio.png</file>
<file>res/camera.png</file>
<file>res/Settings.png</file>
<file>res/dropdown.png</file>
<file>res/new.png</file>
<file>res/edit.png</file>
<file>res/delete.png</file>
<file>res/checked.png</file>
<file>res/unchecked.png</file>
<file>res/graphicsicon.png</file>
<file>res/miscicon.png</file>
<file>res/Load.png</file>
<file>res/Save.png</file>
<file>res/Record.png</file>
<file>res/Videos.png</file>
<file>res/weaponsicon.png</file>
<file>res/teamicon.png</file>
<file>res/panelbg.png</file>
<file>res/lightbulb_on.png</file>
<file>res/lightbulb_off.png</file>
<file>res/spin_up.png</file>
<file>res/spin_down.png</file>
<file>res/PlaySound.png</file>
<file>res/hh_small.png</file>
<file>res/btnDisabled.png</file>
<file>res/btnForts@2x.png</file>
<file>res/btnBorder@2x.png</file>
<file>res/btnInvulnerable@2x.png</file>
<file>res/btnLaserSight@2x.png</file>
<file>res/btnLowGravity@2x.png</file>
<file>res/btnResetHealth@2x.png</file>
<file>res/btnTeamsDivide@2x.png</file>
<file>res/btnSolid@2x.png</file>
<file>res/btnVampiric@2x.png</file>
<file>res/btnKarma@2x.png</file>
<file>res/btnArtillery@2x.png</file>
<file>res/btnRandomOrder@2x.png</file>
<file>res/btnKing@2x.png</file>
<file>res/btnPlaceHog@2x.png</file>
<file>res/btnSharedAmmo@2x.png</file>
<file>res/btnDisableGirders@2x.png</file>
<file>res/btnDisableLandObjects@2x.png</file>
<file>res/btnAISurvival@2x.png</file>
<file>res/btnInfAttack@2x.png</file>
<file>res/btnResetWeps@2x.png</file>
<file>res/btnPerHogAmmo@2x.png</file>
<file>res/btnNoWind@2x.png</file>
<file>res/btnMoreWind@2x.png</file>
<file>res/btnTagTeam@2x.png</file>
<file>res/btnBottomBorder@2x.png</file>
<file>res/iconBox.png</file>
<file>res/iconHealth.png</file>
<file>res/iconSuddenDeath.png</file>
<file>res/iconDamage.png</file>
<file>res/iconTime.png</file>
<file>res/iconMine.png</file>
<file>res/iconDud.png</file>
<file>res/iconRope.png</file>
<file>res/dice.png</file>
<file>res/Star.png</file>
<file>res/inverse-corner-bl.png</file>
<file>res/Flake.png</file>
<file>res/Egg.png</file>
<file>res/Confetti.png</file>
<file>res/file_save.png</file>
<file>res/file_demo.png</file>
<file>res/addfriend.png</file>
<file>res/remfriend.png</file>
<file>res/ignore.png</file>
<file>res/unignore.png</file>
<file>res/follow.png</file>
<file>res/info.png</file>
<file>res/kick.png</file>
<file>res/lock.png</file>
<file>res/unlock.png</file>
<file>res/StatsMedal1.png</file>
<file>res/StatsMedal2.png</file>
<file>res/StatsMedal3.png</file>
<file>res/StatsMedal4.png</file>
<file>res/StatsR.png</file>
<file>res/StatsH.png</file>
<file>res/StatsD.png</file>
<file>res/StatsBestKiller.png</file>
<file>res/StatsBestShot.png</file>
<file>res/StatsHedgehogsKilled.png</file>
<file>res/StatsMostSelfDamage.png</file>
<file>res/StatsSelfKilled.png</file>
<file>res/StatsSkipped.png</file>
<file>res/StatsCustomAchievement.png</file>
<file>res/Start.png</file>
<file>res/mapRandom.png</file>
<file>res/mapMaze.png</file>
<file>res/mapMissing.png</file>
<file>res/mapCustom.png</file>
<file>res/mapMission.png</file>
<file>res/chat/friend.png</file>
<file>res/chat/ignore.png</file>
<file>res/chat/lamp.png</file>
<file>res/chat/hedgehog.png</file>
<file>res/chat/hedgehog_gray.png</file>
<file>res/chat/roomadmin.png</file>
<file>res/chat/roomadmin_gray.png</file>
<file>res/chat/serveradmin.png</file>
<file>res/chat/serveradmin_gray.png</file>
<file>res/chat/lamp_off.png</file>
<file>res/chat/ingame.png</file>
<file>res/splash.png</file>
<file>res/html/about.html</file>
<file>res/xml/tips.xml</file>
</qresource>
</RCC>