[Vm-dev] VM Maker: CMakeVMMaker-EstebanLorenzano.190.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Feb 13 15:15:07 UTC 2013


Esteban Lorenzano uploaded a new version of CMakeVMMaker to project VM Maker:
http://source.squeak.org/VMMaker/CMakeVMMaker-EstebanLorenzano.190.mcz

==================== Summary ====================

Name: CMakeVMMaker-EstebanLorenzano.190
Author: EstebanLorenzano
Time: 13 February 2013, 4:14:52.278 pm
UUID: f64c032c-293e-424a-8439-66cb7acc3d76
Ancestors: CMakeVMMaker-EstebanLorenzano.189

- force using specified sdk (to allow use of 10.6)

=============== Diff against CMakeVMMaker-EstebanLorenzano.189 ===============

Item was changed:
  ----- Method: CocoaIOSConfig>>commonCompilerFlags (in category 'accessing') -----
  commonCompilerFlags
  	"Common compiler flags"
+ 	^#('-arch i386' '-mmacosx-version-min=10.6' '-DHAVE_UUID_GENERATE')!
- 	^#('-arch i386' '-mmacosx-version-min=10.5' '-DHAVE_UUID_GENERATE')!

Item was changed:
  ----- Method: CogFamilyCocoaIOSConfig>>commonCompilerFlags (in category 'settings') -----
  commonCompilerFlags
  	^super commonCompilerFlags, 
+ 		{
+ 	'-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX', self sdkVersion, '.sdk'.
+ 	'-funroll-loops'.
+ 	'-fasm-blocks'. 
+ 	'-finline-functions'. 
+ 	'-mfpmath=sse'. 
+ 	'-march=pentium-m'. 
+ 	'-mtune=prescott'. 
+ 	'-falign-functions=16'. 
+ 	'-fno-gcse'. 
+ 	'-fno-cse-follow-jumps'. 
+ 	'-std=gnu99'. 
+ 	'-DBUILD_FOR_OSX'. 
- 		#(
- 	'-funroll-loops' 
- 	'-fasm-blocks' 
- 	'-finline-functions' 
- 	'-mfpmath=sse' 
- 	'-march=pentium-m' 
- 	'-mtune=prescott' 
- 	'-falign-functions=16' 
- 	'-fno-gcse' 
- 	'-fno-cse-follow-jumps' 
- 	'-std=gnu99' 
- 	'-DBUILD_FOR_OSX' 
  	"'-DUSE_INLINE_MEMORY_ACCESSORS=1' "
+ 	'-DLSB_FIRST'. 
+ 	'-DHAVE_SYS_TIME_H'. 
+ 	'-DHAVE_NANOSLEEP'. 
+ 	'-DCOGMTVM=0'. 
+ 	'-DUSE_GLOBAL_STRUCT=0'. 
+ 	'-DBASE_HEADER_SIZE=4' }!
- 	'-DLSB_FIRST' 
- 	'-DHAVE_SYS_TIME_H' 
- 	'-DHAVE_NANOSLEEP' 
- 	'-DCOGMTVM=0' 
- 	'-DUSE_GLOBAL_STRUCT=0' 
- 	'-DBASE_HEADER_SIZE=4')!

Item was changed:
  ----- Method: CogFamilyCocoaIOSConfig>>defaultExternalPlugins (in category 'plugins') -----
  defaultExternalPlugins 
  	^(self versionExternalPlugins),
  		#(
  		UUIDPlugin
  		FloatMathPlugin
  		AsynchFilePlugin
  		SerialPlugin
  		Mpeg3Plugin
  		CroquetPlugin
  		JoystickTabletPlugin
  		MIDIPlugin
  		B3DAcceleratorPlugin
  		LocalePlugin
+ 		ObjectiveCPlugin
- 		"ObjectiveCPlugin"
  		QuicktimePlugin
  		TestOSAPlugin
  		SqueakSSLPlugin
  		"UnixOSProcessPlugin"
  	)!

Item was added:
+ ----- Method: CogFamilyCocoaIOSConfig>>sdkVersion (in category 'accessing') -----
+ sdkVersion 
+ 	^'10.6'!

Item was changed:
  ----- Method: CogFamilyCocoaIOSConfig>>setGlobalOptions: (in category 'settings') -----
  setGlobalOptions: maker
  
  	"set any CMake global options, before declaring a project in cmake file"
  	
  	maker set: 'CMAKE_C_COMPILER' to: '/usr/bin/gcc'.
+ 	maker set: 'CMAKE_CXX_COMPILER' to: '/usr/bin/g++'.
- 	maker set: 'CMAKE_CXX_COMPILER' to: '/usr/bin/g++'.	
  	maker set: 'CMAKE_OSX_ARCHITECTURES' to: 'i386'.
+ 	maker set: 'CMAKE_OSX_DEPLOYMENT_TARGET' to: '10.6'.
- 	maker set: 'CMAKE_OSX_SYSROOT' to: '/'.
  	
+ 	"maker set: 'CMAKE_OSX_SYSROOT' to: '/'."
+ 	maker 
+ 		set: 'CMAKE_OSX_SYSROOT' 
+ 		to: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX', self sdkVersion, '.sdk'!
- 	"maker set: 'CMAKE_OSX_SYSROOT' to: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk'"!



More information about the Vm-dev mailing list