Commit graph

232 commits

Author SHA1 Message Date
alexey.lysiuk
e375d23648 build script: setup environment variables for all targets 2020-12-05 15:41:09 +02:00
alexey.lysiuk
33ec97ea4b build script: add clean special target 2020-12-05 15:40:56 +02:00
alexey.lysiuk
5083a3c683 build script: extract base target class 2020-12-05 15:40:42 +02:00
alexey.lysiuk
4cec1b0463 build script: add ninja target 2020-12-03 13:13:16 +02:00
alexey.lysiuk
23522ec45d build script: add pcre target 2020-12-03 12:51:55 +02:00
alexey.lysiuk
20d038030b build script: add iconv target 2020-12-03 12:12:58 +02:00
alexey.lysiuk
ee05a2dc12 build script: add ffi target 2020-12-03 11:33:31 +02:00
alexey.lysiuk
82236aa071 build script: add sndfile target 2020-12-01 13:03:52 +02:00
alexey.lysiuk
48da7784e3 build script: add openal target 2020-12-01 13:03:39 +02:00
alexey.lysiuk
31ea8bc789 build script: add mpg123 target 2020-12-01 13:02:05 +02:00
alexey.lysiuk
79c436f34a build script: fix flac target class name 2020-12-01 13:00:53 +02:00
alexey.lysiuk
1ec9144924 build script: add flac target 2020-11-30 11:34:22 +02:00
alexey.lysiuk
5037eec424 build script: add bzip2 target 2020-11-30 11:33:59 +02:00
alexey.lysiuk
8fb8f4a868 build script: add zlib target 2020-11-30 11:32:41 +02:00
alexey.lysiuk
fb9a8b80be build script: use local macos sdk when found 2020-11-30 11:32:06 +02:00
alexey.lysiuk
446de1778e build script: handle additional options for target installation 2020-11-30 11:28:32 +02:00
alexey.lysiuk
3a0831425b build script: fix parent class of static cmake target 2020-11-30 11:27:05 +02:00
alexey.lysiuk
f9424e5c9c build script: add class to handle command line options 2020-11-30 10:41:49 +02:00
alexey.lysiuk
6e39dea6de build script: fix typo in comment 2020-11-30 10:10:18 +02:00
alexey.lysiuk
9ae301e1be build script: add opusfile target 2020-11-29 13:34:43 +02:00
alexey.lysiuk
b11947f7e6 build script: add opus target 2020-11-29 13:28:36 +02:00
alexey.lysiuk
47e053fb47 build script: add vorbis target 2020-11-29 13:22:45 +02:00
alexey.lysiuk
79224fa6a1 build script: move common code out of concrete dependency target classes 2020-11-29 13:22:32 +02:00
alexey.lysiuk
c4ce33718d build script: add jpeg-turbo target 2020-11-29 12:34:44 +02:00
alexey.lysiuk
e75ea5e3c9 build script: move prefix member and install() method to base target 2020-11-29 12:30:15 +02:00
alexey.lysiuk
e47d1ac69b build script: call parent's initialize() in all targets 2020-11-29 12:25:11 +02:00
alexey.lysiuk
2d99b8389a build script: fix sdk path in make target 2020-11-29 12:23:42 +02:00
alexey.lysiuk
244c80a717 build script: add nasm target 2020-11-29 12:02:26 +02:00
alexey.lysiuk
219977a708 build script: add ogg target 2020-11-29 12:02:26 +02:00
alexey.lysiuk
cfc1052495 build script: add configure+make target 2020-11-29 12:02:26 +02:00
alexey.lysiuk
0a2b76affc build script: add ability to download source code packages 2020-11-29 11:57:39 +02:00
alexey.lysiuk
70e453f31b build script: move common members and functionality to base target class 2020-11-26 11:33:42 +02:00
alexey.lysiuk
4cf2925a48 build script: quakespasm is based on genetic make target 2020-11-25 11:23:18 +02:00
alexey.lysiuk
90c5a0cbbf build script: add generic make target 2020-11-25 11:21:04 +02:00
alexey.lysiuk
3e1ff1db3f build script: move cmake options from base class 2020-11-25 10:00:21 +02:00
alexey.lysiuk
c096d49c40 add quakespasm target 2020-11-24 18:22:55 +02:00
alexey.lysiuk
e0be637305 build script: extract recursive symlink creation to dedicated function 2020-11-24 18:22:15 +02:00
alexey.lysiuk
fc36ced59f build script: ability to specify number of parallel jobs 2020-11-24 18:10:57 +02:00
alexey.lysiuk
6339d73584 fix typo in comment 2020-11-24 17:51:08 +02:00
alexey.lysiuk
90eeeb382e build script: support case insensitive target names 2020-11-23 15:24:01 +02:00
alexey.lysiuk
d04d4cc55e build script: extract target logic from builder class
this allows to have:
* target with build system other than cmake
* target with source code origin other than git repository
2020-11-23 13:22:07 +02:00
alexey.lysiuk
b3d06b1a29 build script: add doom64ex target 2020-11-14 16:29:26 +02:00
alexey.lysiuk
f11de9c041 build script: add acc target 2020-11-05 12:40:00 +02:00
alexey.lysiuk
20cbc532f1 build script: use own iconv library
fixes #13
2020-08-18 12:34:31 +03:00
alexey.lysiuk
d05711feb0 fix detection of target name from cmake config file
all supported targets are now detected correctly
2020-08-15 12:06:06 +03:00
alexey.lysiuk
033e1135b4 add option to enable verbose build output 2020-08-11 18:22:42 +03:00
alexey.lysiuk
6c132e1c2e add doomretro target 2020-08-11 09:41:18 +03:00
alexey.lysiuk
c81f11dd16 build script: use own zlib and bz2 libraries for devilutionx 2020-08-02 13:29:13 +03:00
alexey.lysiuk
f40522e583 build script: use binary zlib and bzip2 libraries 2020-07-06 13:56:42 +03:00
alexey.lysiuk
8e2c4a84b5 build script: remove misleading --skip-generate option
for debugging purposes, just comment out _generate_cmake() call
2020-06-28 09:44:47 +03:00
alexey.lysiuk
d0a7f8b21b build script: allow to customize target macos version 2020-06-27 18:09:13 +03:00
alexey.lysiuk
ddc445f408 build script: specify deployment target explicitly 2020-06-27 14:44:26 +03:00
alexey.lysiuk
eb55f3e00f add pkg-config 0.29.2 with preliminary build script support 2020-06-27 14:43:45 +03:00
alexey.lysiuk
41bff6e7fb build script: add support for bin directory in prefix path 2020-06-27 13:26:26 +03:00
alexey.lysiuk
88857b3fb4 build script: always keep prefix directory up-to-date 2020-06-27 13:24:59 +03:00
alexey.lysiuk
1b92af1332 build script: switch lzdoom to static sound libraries 2020-06-21 10:10:32 +03:00
alexey.lysiuk
afda517519 build script: add devilutionx target 2020-06-14 12:32:14 +03:00
alexey.lysiuk
a46df94823 build script: add crispy doom target 2020-06-14 10:39:37 +03:00
alexey.lysiuk
8b646f98e5 build script: unify *zdoom and raze targets 2020-06-14 10:39:37 +03:00
alexey.lysiuk
36bb43b8eb build script: remove ability to create package
this feature has nothing to do with a build, and requires too much work for every target
2020-06-14 10:39:37 +03:00
alexey.lysiuk
d07a95232d build script: add chocolate doom target
todo: add libpng and libsamplerate
2020-06-13 13:43:33 +03:00
alexey.lysiuk
3928f26e80 build script: support target detection with spaces in name 2020-06-13 13:26:02 +03:00
alexey.lysiuk
93a020330c build script: support target with git submodules 2020-06-13 13:26:02 +03:00
alexey.lysiuk
0d9ab3cfa8 build script: post refactoring cleanup 2020-06-13 13:24:33 +03:00
alexey.lysiuk
c4be59b419 build script: skip bundle copying for xcode project 2020-06-13 12:46:15 +03:00
alexey.lysiuk
860514d9f4 refactor build script
make target registration more explicit
get rid of setup() method: all target options independent from builder are set in __init__() while dependent members are assigned in configure()
target with non-empty source root is now detectable, i.e. prboom-plus
2020-06-13 12:27:17 +03:00
alexey.lysiuk
b547f3f337 build script: add prboom-plus target
this closes #9
2020-05-11 16:37:01 +03:00
alexey.lysiuk
a34f525cdf build script: improve target registration
target can be named with arbitrary string
2020-05-11 16:23:18 +03:00
alexey.lysiuk
7acd7e532b add preliminary support for zandronum in build script 2020-05-08 10:41:45 +03:00
alexey.lysiuk
1770abf4d7 build script: complete separation between target and builder 2020-05-07 16:40:59 +03:00
alexey.lysiuk
73a023e9ae build script: move some functions to target class 2020-05-07 16:40:59 +03:00
alexey.lysiuk
a2bf2ccea8 build script: replaced standalone functions with builder class 2020-05-07 16:40:59 +03:00
alexey.lysiuk
ef0fe29dbd fetch target source code to designated directory 2020-05-03 15:59:56 +03:00
alexey.lysiuk
6a1a2a1bad build script: ability to create .tar.bz2 package 2020-04-26 16:29:07 +03:00
alexey.lysiuk
c4cf771f08 build script: add qzdoom and lzdoom targets 2020-04-26 12:54:22 +03:00
alexey.lysiuk
e449c022f8 build script: detect target from source path 2020-04-26 11:46:37 +03:00
alexey.lysiuk
af348b9a6a build script: do checkout only when commit is specified 2020-04-26 11:16:25 +03:00
alexey.lysiuk
dee8cdeed1 build script: do not recreate prefix path if it exists 2020-04-25 17:53:43 +03:00
alexey.lysiuk
fdf996a297 allow to use build script as module 2020-04-25 17:32:12 +03:00
alexey.lysiuk
bce57df3cd add license header to build script 2020-04-25 17:31:52 +03:00
alexey.lysiuk
9c91d9bbf7 extend build script
* add various command line options: custom source and build paths, skipping of steps (checkout, update prefix, CMake generate), custom macOS SDK
* add target post-build function, e.g. to copy MoltenVK .dylib
2020-04-25 17:12:48 +03:00
alexey.lysiuk
24fdf252f7 add generic build script 2020-04-25 13:12:17 +03:00