de.git.xonotic.org Git - xonotic/netradiant.git/atom - tools/quake3/CMakeLists.txt history xonotic/netradiant.git Atom feed https://de.git.xonotic.org/?p=xonotic/netradiant.git static/git-favicon.png static/git-logo.png 2021-05-03T21:28:31Z gitweb quake3/help: move away from termcap 2021-05-03T19:52:15Z Antoine Fontaine antoine.fontaine@epfl.ch Thomas Debesse dev@illwieckz.net 2021-05-03T19:52:15Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=fa5abd8c4ea119b7d60056122cbbd7b02dde4260
quake3/help: move away from termcap

termcap is old and crusty. terminfo seems more recent (lol), but maybe
we can get away without adding any dependency :)

On my system, no -ltermcap exists. (Well, except a compat one provided
by zsh for some reason.)
  • [D] tools/quake3/CMakeLists.txt
q3map2/games: add warsow and warfork 2021-05-03T05:26:14Z Thomas Debesse dev@illwieckz.net Thomas Debesse dev@illwieckz.net 2021-05-03T05:26:14Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=03759826c95d5457622844780c8ff4cd5efd90f6
q3map2/games: add warsow and warfork
  • [D] tools/quake3/CMakeLists.txt
q3map2/help: read columns from terminal 2021-05-03T04:45:05Z Thomas Debesse dev@illwieckz.net Thomas Debesse dev@illwieckz.net 2021-05-03T04:45:05Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=dab0c64c818dd34196802b6dfb1e95681fd7aab9
q3map2/help: read columns from terminal
  • [D] tools/quake3/CMakeLists.txt
q3map2/games: add openarena, q3rally and worldofpadman 2021-05-03T04:01:33Z Thomas Debesse dev@illwieckz.net Thomas Debesse dev@illwieckz.net 2021-05-03T04:01:33Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=a39368a2fa047233c7f6c572b057cdbc911162ce
q3map2/games: add openarena, q3rally and worldofpadman
  • [D] tools/quake3/CMakeLists.txt
q3map2: remove useless zlib dependency 2020-04-18T08:03:56Z Thomas Debesse dev@illwieckz.net Thomas Debesse dev@illwieckz.net 2020-04-18T08:03:56Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=46d937d4dc8e7fbcd060792eafbf7e125c10d527
q3map2: remove useless zlib dependency
  • [D] tools/quake3/CMakeLists.txt
tools/cmake: do not compute git version again 2020-04-04T00:25:11Z Thomas Debesse dev@illwieckz.net Thomas Debesse dev@illwieckz.net 2020-04-04T00:25:11Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=94209cef439ccc6b58d51c49f3381d9149a66006
tools/cmake: do not compute git version again
  • [D] tools/quake3/CMakeLists.txt
cmake: do not use WIN32 for console tools 2019-07-05T20:25:34Z Thomas Debesse dev@illwieckz.net Thomas Debesse dev@illwieckz.net 2019-07-05T20:25:34Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=0f91bcf305ef8707b4a96a764c09aeb3cb6beba3
cmake: do not use WIN32 for console tools

allow them to output stdout on console and spawn a console if required

it's not very intuitive and explicit but the WIN32 cmake keyword
in add_executable call is to not target the console subsystem but
only the graphical one

so console tools just have to not use that keyword, even if they imay
display a window like when doing q2map -glview

then the WIN32 keyword is a kind of “no console” keyword
  • [D] tools/quake3/CMakeLists.txt
cmake: make tools target the console subsystem on Windows 2019-07-04T23:57:34Z Thomas Debesse dev@illwieckz.net Thomas Debesse dev@illwieckz.net 2019-07-04T23:57:34Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=f2f321e97f89c45980cd63d70f98331b484fec1c
cmake: make tools target the console subsystem on Windows

previously on Windows the stdout stuff was only printed on MinTTY console or SSH shell,
this change makes the tools to target the console subsystem so they also print stdout
on cmd console.

this also makes the tool spawning a cmd console windows when not started from a console,
allowing people to monitor what is printed.

this is done by adding a console_app() cmake macro that enables the -mconsole linker flag.
For exhaustivity an extraneous window_app() macro is done too that enables the -mwindows
flag. The -mwindows looks to be implicit, but making this macro explicit and using it
keeps the CMakeLists.txt file self documenting which exe has to be compiled with -mconsole,
which one has to be compiled with -mwindows, and which one has to be compiled with both.

this is a way to check if an exe targets only the windows subsystem:

$ objdump -p netradiant.exe | egrep '^Subsystem'
Subsystem		00000002	(Windows GUI)

this is a way to check if an exe targets the console subsystem:

$ objdump -p q3map2.exe | egrep '^Subsystem'
Subsystem		00000003	(Windows CUI)

note that this one targets both console and windows subsystem, only console is reported:

$ objdump -p q2map.exe | egrep '^Subsystem'
Subsystem		00000003	(Windows CUI)
  • [D] tools/quake3/CMakeLists.txt
q3map2: make Smokin'Guns code not requiring a rebuild 2019-05-01T14:16:52Z Thomas Debesse dev@illwieckz.net Thomas Debesse dev@illwieckz.net 2019-05-01T14:16:52Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=38056549ede3da5736686243a1242a2e67a35ec1
q3map2: make Smokin'Guns code not requiring a rebuild

Not only Smokin'Guns game can now use .tex sidecar file
  • [D] tools/quake3/CMakeLists.txt
icons: enable q3map2 and q3data windows exe icons 2019-06-01T18:38:02Z Thomas Debesse dev@illwieckz.net Thomas Debesse dev@illwieckz.net 2019-06-01T18:38:02Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=300b59c41c3f7037a0b33e566c04a626f1bb0d50
icons: enable q3map2 and q3data windows exe icons
  • [D] tools/quake3/CMakeLists.txt
webp: add cmake support 2018-07-06T19:22:25Z Thomas Debesse dev@illwieckz.net Thomas Debesse dev@illwieckz.net 2018-07-06T19:22:25Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=a36e68512346ba2516c4affceba8571b906e2b6a
webp: add cmake support
  • [D] tools/quake3/CMakeLists.txt
make crunch build optional and disabled by default 2018-10-28T21:24:54Z Thomas Debesse dev@illwieckz.net Thomas Debesse dev@illwieckz.net 2018-10-28T21:24:54Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=6acf8cb198eebecef02e507d14468d4dc90d91a5
make crunch build optional and disabled by default
  • [D] tools/quake3/CMakeLists.txt
make crunch a submodule 2018-10-02T22:26:44Z Thomas Debesse dev@illwieckz.net Thomas Debesse dev@illwieckz.net 2018-10-02T22:26:44Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=f715e5f69a891e0d27d2faa1f76a8ef8337a33b4
make crunch a submodule
  • [D] tools/quake3/CMakeLists.txt
q3map2: Add crn loading support to q3map2 2018-07-05T19:07:31Z dolcetriade vcelestialragev@gmail.com Thomas Debesse dev@illwieckz.net 2018-07-05T19:07:31Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=1483f2b87be32a60ef7e0038f3a893624a3c6639
q3map2: Add crn loading support to q3map2
  • [D] tools/quake3/CMakeLists.txt
CMake: switch minizip casing 2017-07-29T13:45:26Z TimePath andrew.hardaker1995@gmail.com TimePath andrew.hardaker1995@gmail.com 2017-07-29T13:45:26Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=b5391544e08298842dc61947979da08a89e0a26e
CMake: switch minizip casing
  • [D] tools/quake3/CMakeLists.txt
Fix build for Windows when using CMake 2017-07-27T22:22:36Z maek maek@paranoici.org maek maek@paranoici.org 2017-07-27T22:22:36Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=c0898867d7d990f1dd558d3b9bc7060f7efd277a
Fix build for Windows when using CMake
  • [D] tools/quake3/CMakeLists.txt
Switch to minizip 2017-07-22T14:22:00Z TimePath andrew.hardaker1995@gmail.com TimePath andrew.hardaker1995@gmail.com 2017-07-22T14:22:00Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=ffee0a9e20bee1157a424e0075544a7b8b02e321
Switch to minizip
  • [D] tools/quake3/CMakeLists.txt
Merge remote-tracking branch 'illwieckz/unvanquished' 2016-04-14T06:06:02Z TimePath andrew.hardaker1995@gmail.com TimePath andrew.hardaker1995@gmail.com 2016-04-14T06:06:02Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=ba09e304aaad5882eccb07464b85b2d3f08bc406
Merge remote-tracking branch 'illwieckz/unvanquished'
  • [D] tools/quake3/CMakeLists.txt
Merge remote-tracking branch 'illwieckz/exportents' 2016-04-14T02:42:54Z TimePath andrew.hardaker1995@gmail.com TimePath andrew.hardaker1995@gmail.com 2016-04-14T02:42:54Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=8a00fda721f6912ec1af097b9a69db4db10ffbdb
Merge remote-tracking branch 'illwieckz/exportents'
  • [D] tools/quake3/CMakeLists.txt
Merge remote-tracking branch 'illwieckz/split' into master 2016-04-14T01:22:00Z TimePath andrew.hardaker1995@gmail.com TimePath andrew.hardaker1995@gmail.com 2016-04-14T01:22:00Z https://de.git.xonotic.org/?p=xonotic/netradiant.git;a=commitdiff;h=96cdce5ea994fc35dc6ceada878d7f717352f2fb
Merge remote-tracking branch 'illwieckz/split' into master
  • [D] tools/quake3/CMakeLists.txt