English Amiga Board


Go Back   English Amiga Board > Requests > request.UAE Wishlist

 
 
Thread Tools
Old 06 February 2010, 00:49   #1
gilgamesh
Linux snob
 
gilgamesh's Avatar
 
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.)
Attached Files
File Type: zip cmake_winuae.zip (4.0 KB, 181 views)

Last edited by gilgamesh; 06 February 2010 at 00:56.
gilgamesh is offline  
Old 08 February 2010, 00:28   #2
gilgamesh
Linux snob
 
gilgamesh's Avatar
 
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.
Attached Files
File Type: zip cmake_winuae2.zip (4.7 KB, 172 views)
gilgamesh is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:45.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.24200 seconds with 16 queries