[CM] premake.lua

taube at illinois.edu taube at illinois.edu
Thu Jan 1 17:32:44 PST 2009


ok i got it working on mac and windows an without adding any hacks. your premake.lua is checked into svn now. thanks for the cleanup, its a lot nicer and more flexible now!

(to fix the windows linking order problem i just use a loop and added the libs to the configs rather than the package):

      for c in {"Release", "Debug"} do
         add(mypackage.config[c].links, "gdi32")
         add(mypackage.config[c].links, "comdlg32")
         add(mypackage.config[c].links, "shell32")
         add(mypackage.config[c].links, "ole32")
         ...
         end




More information about the Cmdist mailing list