Page 1 of 1

Cmake-based build system

Posted: Tue Mar 18, 2008 2:12 pm
by ppr:kut

I've done some initial work on a cmake-based build system. So far it does build + install vba-m on a linux system with asm-hq-filters and a fallback to the c-implementations if nasm is not available. Next on my todo list is adding the qt-gui to the build.

Cmake is a really cool build environment with an easy to use syntax. As it's multi-platform, the developers wouldn't have to deal with separate build files for Linux, Windows, MacOS, but just the affected CMakeLists.txt.


Cmake-based build system

Posted: Tue Mar 18, 2008 3:44 pm
by dualscreenman

KDE also uses Cmake, and I must say that it is a nice build system, even if I've only used it to build parts of KDE.


Cmake-based build system

Posted: Tue Mar 18, 2008 11:39 pm
by Nach

Once we get the Qt port up to speed, I think we're going to drop the other ports.

 

But in the mean time, if you can make a better build process than the crummy quick hack job of a Makefile I made, go right ahead.

 

Main goals I have in a good Makefile (or similar) for such a thing:

Direct Windows support

Cross compile to Windows support

UNIX x86-32

UNIX non x86-32


Cmake-based build system

Posted: Wed Mar 19, 2008 1:45 pm
by ppr:kut

Finally I have somehting I dare publishing [img]<fileStore.core_Emoticons>/emoticons/tongue.png[/img]/emoticons/tongue@2x.png 2x" width="20" height="20" />. It currently builds vbam with asm-hq-filters. You can specify if you also want the qt-gui and you can also use the c-hq-filters if you want.

This works on my system but as I'm quite new to cmake chances are that it does not on others. Everybody who is interested please test. I welcome any feedback.

 

As the forum-upload doesn't seem to work, you can download it here:

http://hw.3kisses.net/files/src/vbam_cmake.diff


Cmake-based build system

Posted: Thu Mar 20, 2008 6:27 am
by mudlord

I'll test this out when I can on a sandbox checkout.

 

It looks cool [img]<fileStore.core_Emoticons>/emoticons/tongue.png[/img]/emoticons/tongue@2x.png 2x" width="20" height="20" />