06 February 2010, 00:49 | #1 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
CMake for WinUAE
Hello,
how do you like the idea of adding cmake to the build process of WinUAE? Cmake can generate makefiles for many different platforms, ranging from Gnu make over wmake to MSVC nmake and project files. It has a very simply syntax and therefore enhances the maintainability and portability to different platforms of the code. Cmake can also help parameterizing and modularizing it. You'll need cmake 2.8 and the NASM patch from here. The patch can easily be applied by hand. Some variables with paths must be set (in the GUI, if you like): VC_Dir, WDK_Dir, Win7SDK_Dir, WINUAE_INCLUDES and WINUAE_LIBS. I don't have to explain what these mean, do I? You can compile WinUAE (which actually runs), but I'm not sure everything works (gen...?). Consider this a proof of concept. There are no advanced features or anything, just the bare minimum. (Btw, the project is set to _cdecl, so use according libraries. The files work with WinUAE 2.0.2 beta.) Last edited by gilgamesh; 06 February 2010 at 00:56. |
08 February 2010, 00:28 | #2 |
Linux snob
Join Date: Sep 2008
Location: Monkey Island
Posts: 997
|
This version should be pretty complete and correct. Forgot to mention that *.asm should be renamed to *.nasm. Next step will hopefully be compilation with MinGW.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
WinUAE 0.9.92 "WinUAE 1.0 public beta #3" Released! | Jim | News | 2 | 23 December 2004 11:29 |
WinUAE - HD, and WinUAE Beats me | Mr.B | support.WinUAE | 19 | 26 October 2003 17:49 |
WinUAE 0817r3-GUI dissappears/ WinUAE freezes. | 7-Zark-7 | support.WinUAE | 2 | 23 December 2001 14:19 |
|
|