| /* get shared config.bld from src/ */ |
| xdc.includeFile("../../../../config.bld"); |
| |
| /* change default libraries */ |
| var Win32 = xdc.module("microsoft.targets.Win32"); |
| Win32.profiles.debug.linkOpts = "-debug " + |
| "nafxcwd.lib kernel32.lib user32.lib gdi32.lib gdiplus.lib advapi32.lib " + |
| "msimg32.lib oleacc.lib oledlg.lib shlwapi.lib msxml6.lib atls.lib " + |
| "shell32.lib comctl32.lib winspool.lib comdlg32.lib uuid.lib uxtheme.lib " + |
| "imm32.lib winmm.lib windowscodecs.lib libcmtd.lib"; |
| Win32.profiles.release.linkOpts = |
| "nafxcw.lib kernel32.lib user32.lib gdi32.lib gdiplus.lib advapi32.lib " + |
| "msimg32.lib oleacc.lib oledlg.lib shlwapi.lib msxml6.lib atls.lib " + |
| "shell32.lib comctl32.lib winspool.lib comdlg32.lib uuid.lib uxtheme.lib " + |
| "imm32.lib winmm.lib windowscodecs.lib libcmt.lib"; |
| |
| if ("excludeDirs" in Pkg) { |
| Pkg.excludeDirs = [".svn"]; |
| } |
| if ("archiver" in Pkg.attrs) { |
| Pkg.attrs.archiver = "zip"; |
| } |