0

sorry if this question is too naive but i'm new to using build tools as previously i used visual studio's default build tool( just right click and select build ).

Now i am working with linux, and want to develop a cross platform application.I'm now using premake as i've heard that it is "insanely" cross platform compatible. I made the premake.lua but i am unable to find what should be the appropriate name for the toolset parameter if i want to compile using g++( i believe it stands for the compiler ) in the command:

premake --target toolset

I checked the link: http://premake.sourceforge.net/what_is_premake and many others they give the toolset name for gcc, code::blocks etc but not for g++.Secondly even if i give toolset name as cb-ow, for Cde::Blocks. I don't get the executables, i get the .cbw files

4

1 回答 1

0

您很可能根本不需要指定工具集。做就是了:

premake4 gmake

它将使用默认工具集(Linux 上的 GCC)。

哦,我还应该提到你正在使用 Premake 3,这在这一点上已经过时了。在此处查看 4.x 的内容:http: //industriousone.com/premake

于 2013-04-19T14:17:33.083 回答