1
0
forked from 0ad/0ad

Use the correct JS DLL for Debug/Release.

Define NDEBUG in Release builds.

This was SVN commit r639.
This commit is contained in:
Ykkrosh 2004-07-07 10:44:15 +00:00
parent da43ede881
commit f55e9a72bd

View File

@ -70,6 +70,7 @@ if (OS == "windows") then
-- Libraries
package.links = { "opengl32" }
-- package.defines = { "XERCES_STATIC_LIB" }
package.config["Release"].defines = { "NDEBUG" }
tinsert(package.files, sourcesfromdirs("../../lib/sysdep/win"))
package.linkoptions = { "/ENTRY:entry",
"/DELAYLOAD:opengl32.dll",
@ -82,9 +83,14 @@ if (OS == "windows") then
"/DELAYLOAD:ddraw.dll",
"/DELAYLOAD:libpng10.dll",
"/DELAYLOAD:zlib1.dll",
"/DELAYLOAD:js32.dll",
"/DELAYLOAD:glu32.dll",
"/DELAY:UNLOAD" -- allow manual unload of delay-loaded DLLs
}
package.config["Debug"].linkoptions = {
"/DELAYLOAD:js32d.dll",
}
package.config["Release"].linkoptions = {
"/DELAYLOAD:js32.dll",
}
package.buildflags = { "no-main" }
package.pchHeader = "precompiled.h"