It is this change, we need to cross compile before, a simple solution to integrate that.
self puts: '# This is automatically generated file using ', self configurationName, ' on ',
Date current asString, ' ' , Time current asString;
puts: 'cmake_minimum_required(VERSION 2.6.2)'.
self config requiresDetermineSystem ifTrue: [
and add in CPlatformConfig
A method :
Create a WindowConfiguration as you wish and create a method
On Dec 12, 2011, at 4:42 PM, Igor Stasenko wrote:
On 12 December 2011 16:33, Mariano Martinez Peck <[hidden email]> wrote:
Hi JB. Could you please tell me how should I run cmake to build for windows? Is there a specific generator? because if I run:
since you cross-compiling under unix, you use unix makefiles, which is default. but to generate windows executable, you need different settings in cmake config. like different compilation target (win32 executable, not ELF) etc.
JB could tell you more :)
at the end the only generators I see are:
The following generators are available on this platform:
Unix Makefiles = Generates standard UNIX makefiles.
thanks for the info... I obviously upgraded my system instead trying a fresh install, that's why I confused things... btw... gcc macport installs arm cross compiler? (something like arm-etc-gcc)
El 11/01/2012, a las 10:40a.m., Sean P. DeNigris escribió:
> Luc Fabresse wrote
>> It works for me probably because I still use snow leopard and xcode 4.2...
> If you upgraded from an earlier version of Xcode, gcc will remain on your
> system; but fresh installs do not include it. I installed it from MacPorts
> Luc Fabresse wrote
>>>> cmake -D CMAKE_C_COMPILER=gcc-4.2 -D CMAKE_CXX_COMPILER=g++-4.2 .
> After installing gcc, this line "worked" as shown in this output:
> -- The C compiler identification is GNU
> -- The CXX compiler identification is GNU
> where before is said unknown instead of GNU.
> However, when I opened the project in Xcode, it was still using the default
> compiler, and I had to manually change to gcc anyway.
> View this message in context: http://forum.world.st/CMakeVMMaker-patch-tp4225050p4285415.html > Sent from the Squeak VM mailing list archive at Nabble.com.