1
0
forked from 0ad/0ad

Premake workspace: use native wchar_t type in VC7.1/8

This was SVN commit r3467.
This commit is contained in:
Ykkrosh 2006-02-03 22:29:53 +00:00
parent 2f438a6889
commit 13897010d5

View File

@ -222,6 +222,11 @@ function setuppackage_engine (projectname)
-- required to use WinMain() on Windows, otherwise will default to main()
tinsert(package.buildflags, { "no-main" })
-- use native wchar_t type (not typedef to unsigned short)
package.buildoptions = {
"/Zc:wchar_t",
}
package.pchHeader = "precompiled.h"
package.pchSource = "precompiled.cpp"