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

commits at source.squeak.org commits at source.squeak.org
Tue Jul 3 14:11:50 UTC 2012


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

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

Name: CMakeVMMaker-EstebanLorenzano.170
Author: EstebanLorenzano
Time: 3 July 2012, 4:11:35.861 pm
UUID: e8cef968-6778-4918-bd9d-ba3ae141e81e
Ancestors: CMakeVMMaker-EstebanLorenzano.169

changing plugin locations 

=============== Diff against CMakeVMMaker-EstebanLorenzano.169 ===============

Item was changed:
  ----- Method: MacOSConfig>>externalModulesDir (in category 'accessing') -----
  externalModulesDir
  	"answer the location in VM bundle, where plugins and rest of dynamic libs will be copied,
  	by default, it is Framerowks subdir. i.e: 
  	
  		Cog.app/Contents/Frameworks
  		
  	"
  	
+ 	^ '${outputDir}/', self executableName, '.app/Contents/MacOS/Plugins'!
- 	^ '${outputDir}/', self executableName, '.app/Contents/Plugins'!

Item was changed:
  ----- Method: MacOSConfig>>postBuildActions: (in category 'utils') -----
  postBuildActions: gen
  
  	" override to add custom rules after all targets is defined "
  	
  	self write: self fixLibsTemplate toFile: 'fix_libs.cmake'.
  	
  	
  	gen
  		set: #bundlePath toString: '${outputDir}/', self executableName, '.app';
+ 		set: #pluginsRelPath toString: '@executable_path/Plugins'.
- 		set: #pluginsRelPath toString: '@executable_path/../Plugins'.
  
  	gen
  		puts: '
  		INSTALL(CODE "
  			set(externalModulesDir \"${externalModulesDir}\")
  			set(bundlePath \"${bundlePath}\")
  			set(pluginsRelPath \"${pluginsRelPath}\")
  			
  			include(fix_libs.cmake)
  		")'
  			
  "					FILE(GLOB_RECURSE bLibs /${externalModulesDir}/*.*)
  "!



More information about the Vm-dev mailing list