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.
/*
* Hedgewars, a free turn based strategy game
* Copyright (c) 2013 Vittorio Giovara <vittorio.giovara@gmail.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2 of the License
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
// TODO: keep on documenting all the weapons
//skip---------------------------------|
//structure------------------------------------------------------------------|
#define AMMOLINE_DEFAULT_QT "9391929422199121032235111001201000000211110101011111121"
#define AMMOLINE_DEFAULT_PROB "0405040541600655546554464776576666666155510101115411121"
#define AMMOLINE_DEFAULT_DELAY "0000000000000205500000040007004000000000220000000600020"
#define AMMOLINE_DEFAULT_CRATE "1311110312111111123114111111111111111211111101111111121"
#define AMMOLINE_CRAZY_QT "9999999999999999992999999999999999299999999909999992999"
#define AMMOLINE_CRAZY_PROB "1111110111111111111111111111111111111111111101111111111"
#define AMMOLINE_CRAZY_DELAY "0000000000000000000000000000000000000000000000000000000"
#define AMMOLINE_CRAZY_CRATE "1311110312111111123114111111111111111211110101111111121"
#define AMMOLINE_PROMODE_QT "9090009000000000000009000000000000000000000000000000000"
#define AMMOLINE_PROMODE_PROB "0000000000000000000000000000000000000000000000000000000"
#define AMMOLINE_PROMODE_DELAY "0000000000000205500000040007004000000000200000000000020"
#define AMMOLINE_PROMODE_CRATE "1111110111111111111111111111111111111111100101111111121"
#define AMMOLINE_SHOPPA_QT "0000009900000000000000000000000000000000000000000000000"
#define AMMOLINE_SHOPPA_PROB "4444410044244402210112121222422000000002000400010011001"
#define AMMOLINE_SHOPPA_DELAY "0000000000000000000000000000000000000000000000000000000"
#define AMMOLINE_SHOPPA_CRATE "1111110111111111111111111111111111111111101101111111121"
#define AMMOLINE_CLEAN_QT "1010009000010000011000000000000000000000000000001000000"
#define AMMOLINE_CLEAN_PROB "0405040541600655546554464776576666666155510101115411121"
#define AMMOLINE_CLEAN_DELAY "0000000000000000000000000000000000000000000000000000020"
#define AMMOLINE_CLEAN_CRATE "1311110312111111123114111111111111111211111101111111121"
#define AMMOLINE_MINES_QT "0000009900090000000300000000000000000000000000000000000"
#define AMMOLINE_MINES_PROB "0000000000000000000000000000000000000000000000000000000"
#define AMMOLINE_MINES_DELAY "0000000000000205500000040007004000000000200000000600020"
#define AMMOLINE_MINES_CRATE "1111110111111111111111111111111111111111111101111111121"
#define AMMOLINE_PORTALS_QT "9000009002000000002100000000000000110000090000000000000"
#define AMMOLINE_PORTALS_PROB "0405040541600655546554464776576666666155510101115411121"
#define AMMOLINE_PORTALS_DELAY "0000000000000205500000040007004000000000200000000600020"
#define AMMOLINE_PORTALS_CRATE "1311110312111111123114111111111111111211111101111111121"
#define AMMOLINE_ONEEVERY_QT "1111119111111111111111111111111111111111111111111111111"
#define AMMOLINE_ONEEVERY_PROB "1111110111111111111111111111111111111111111111111111111"
#define AMMOLINE_ONEEVERY_DELAY "0000000000000000000000000000000000000000000000000000000"
#define AMMOLINE_ONEEVERY_CRATE "1111110111111111111111111111111111111111111111111111111"
//When adding new weapons also insert one element in cDefaultAmmos list (hwconsts.cpp.in)