Now, I'm trying again. First, with the XML helper library TICPP ticpp - Google Code
premake4 --ticpp-shared gmake
which seems to work well
ticpp
TiCPP
Building configurations...
Running action 'gmake'...
Generating Makefile...
Generating TiCPP.make...
Done.
jamesMBpro:ticpp james$ make
==== Building TiCPP ====
tinyxml.cpp
tinyxmlparser.cpp
Linking TiCPP
Let's see if the dylibs were produced. And ... nope, only .so :-/
And apparently the dylib flag from premake3 was not conserved in premake4.
Next stop : try the premake4.1 beta. Unfortunately, this did not behave differently.
After some googling which returned nothing, I followed the premake forums down to the buglist. It seems this is a bug which has (recently) been submitted :
And, hurray, there is a patch ! Thank you ashberlin.
So, I downloaded the svn source for premake4:
svn co https://premake.svn.sourceforge.net/svnroot/premake/trunk premake4
And then applied ashberlin's patch
patch -p 1 < 0001-SharedLibs-on-macosx-should-be-called-.dylib.patch
And finally the dylib built. I'll check them tomorrow.
No comments:
Post a Comment