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
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
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
sevenfm

 
Messages:1839
Registered:December 2012
Location: Soviet Russia
With /mp switch, compiling time is not a problem.



7609+fix | 7609+AI (r956) | 7609 unofficial modpack | Win8+ fix | Experimental project | Vengeance:Reloaded | Youtube

"It's already "dog-eat-dog", friend. Not sure what worse a bunch of zombies could do."


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
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]

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


Current Time: Wed Mar 20 07:29:46 EET 2019

Total time taken to generate the page: 0.01932 seconds