Home » MODDING HQ 1.13 » v1.13 General Development Talk » CMake/Ninja working builds on current SVN/AIMNAS git repo
CMake/Ninja working builds on current SVN/AIMNAS git repo[message #356351] Sun, 06 January 2019 17:45 Go to next message
Marco is currently offline Marco
Messages:4
Registered:January 2019
Location: Brazil
Hi folks, I've been studying build systems lately and I love JA2 and all the mods this community came up with, so I thought, why the hell not get CMake working with the sources?? So I did.

Ninja reduced the release compilation time by about 30% in my tests, which is sweet. If anyone's interested, just pull the diff or clone my forked repo of ja2-1.13-source-mirror over at Github, my username there is 'majcosta' (I'm new at the forum, it won't let me post links yet)

Best regards,
Marco

Report message to a moderator

Civilian
Re: CMake/Ninja working builds on current SVN/AIMNAS git repo[message #356352 is a reply to message #356351] Sun, 06 January 2019 18:14 Go to previous messageGo to next message
Deleted.

 
Messages:2663
Registered:December 2012
Location: Russian Federation
With /mp switch, compiling time is not a problem.


Left this community.

Report message to a moderator

Lieutenant

Re: CMake/Ninja working builds on current SVN/AIMNAS git repo[message #356353 is a reply to message #356352] Sun, 06 January 2019 19:19 Go to previous message
Marco is currently offline Marco
Messages:4
Registered:January 2019
Location: Brazil
Oh of course, it's 3 minutes we're talking about here, and that's on my old i3 that probably doesn't have long to live.

I do think the top level cmakelists file makes it easier to see what the compiler and linker are doing and also having conditionals for the preprocessor is useful and reduces complexity, imo.

But everyone has their workflow set up how they like it, I just hope it's useful to someone. happy

[Updated on: Sun, 06 January 2019 19:19]

Report message to a moderator

Civilian
Previous Topic: Can only gumpy hack?
Next Topic: Change hotkeys?
Goto Forum:
  


Current Time: Fri Apr 19 02:49:10 GMT+3 2024

Total time taken to generate the page: 0.01042 seconds