我想让TBB和premake5一起工作。
TBB的项目文件中有一些非常不标准的内容。
这似乎超出了premake5所支持的范围,所以可能甚至不支持:/?
发布于 2015-07-18 18:18:59
它在项目中包括了.asm文件(premake5似乎对此很满意)
是的,这应该可以。
32位/64位等的.asm文件是不同的,因此一些文件需要根据架构的不同而被排除。
你会想要做这样的事情:
solution "MySolution"
configurations { "Debug", "Release" }
platforms { "x86", "x86_64" }
project "MyProject"
kind "ConsoleApp" -- or whatever set things up here
filter { "platforms:x86" }
files {
-- 32-bit files go here
}
filter { "platforms:x86_64" }
files {
-- 64-bit files go here
}在TBB的项目中,asm文件标记为: Item Type = Microsoft Macro Assembler。
Premake目前没有这样做,也不自动包含MASM规则,即可能也需要?可能值得使用开罚单,这样开发人员就可以解决这个问题。
https://stackoverflow.com/questions/31483222
复制相似问题