} else {
$project{"VC_PROJ_TYPE"} = 'Win32 (x86) Console Application';
$project{"VC_PROJ_CODE"} = '0x0103';
- $vc_base_libs = 'kernel32.lib user32.lib advapi32.lib ';
+ $vc_base_libs = 'kernel32.lib user32.lib advapi32.lib shell32.lib ';
if ( Config("wx") ) {
$vc_base_libs .= 'wsock32.lib ';
}
if ( Config("wx") ) {
#! default rel path works for all the demos and most of the samples
#! if no explicit path given
- $WXDIR = Project("WXDIR") || "..\\..";
+ $WXDIR = Project("WXDIR") || (Project("WXDIRREL") || "..\\..");
AddIncludePath("$WXDIR\\include");
#! the wxWin lib name itself is composed from the basename with various
#! suffixes: 'u' for Unicode, 'd' for debug and we also need the version
#! for the DLL
- $DLL_VERSION = "232";
+ $DLL_VERSION = "233";
$project{"WX_LINK_DEBUG"} = $DEBUG_EXTRA_LIBS . "$WX_BASENAME$DEBUG_SUFFIX.lib";
$project{"WX_LINK_RELEASE"} = $RELEASE_EXTRA_LIBS . "$WX_BASENAME.lib";
#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || DisableOutput()
!MESSAGE #$ Substitute('"$$TARGET - Win32 Debug Unicode DLL" (based on "$$VC_PROJ_TYPE")');
#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || EnableOutput()
-#$ Project('WXCONFIGS') =~ '\bUnicodeDll\b' || DisableOutput()
+#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || DisableOutput()
!MESSAGE #$ Substitute('"$$TARGET - Win32 Release Unicode" (based on "$$VC_PROJ_TYPE")');
-#$ Project('WXCONFIGS') =~ '\bUnicodeDll\b' || EnableOutput()
+#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || DisableOutput()
!MESSAGE #$ Substitute('"$$TARGET - Win32 Debug Unicode" (based on "$$VC_PROJ_TYPE")');
#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || EnableOutput()
#$ Config("windows") && ($text='MTL=midl.exe');
RSC=rc.exe
-#$ if ( Project('WXCONFIGS') !~ '\bReleaseUnicodeDll\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
+#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || DisableOutput()
#$ Substitute('$$__IF "$(CFG)" == "$$TARGET - Win32 Release Unicode DLL"');
+#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_UNICODE_DLL'}";
#$ Project('WXCONFIGS') =~ '\bReleaseUnicodeDll\b' || EnableOutput()
-#$ if ( Project('WXCONFIGS') !~ '\bDebugUnicodeDll\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
+#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || DisableOutput()
#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug Unicode DLL"');
+#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_UNICODE_DLL'}";
#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || EnableOutput()
-#$ if ( Project('WXCONFIGS') !~ '\bReleaseUnicode\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
+#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || DisableOutput()
#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release Unicode"');
+#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_UNICODE'}";
#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || EnableOutput()
-#$ if ( Project('WXCONFIGS') !~ '\bDebugUnicode\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
+#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || DisableOutput()
#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug Unicode"');
+#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_UNICODE'}";
#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || EnableOutput()
-#$ if ( Project('WXCONFIGS') !~ '\bReleaseDll\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
+#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || DisableOutput()
#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release DLL"');
+#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE_DLL'}";
#$ Project('WXCONFIGS') =~ '\bReleaseDll\b' || EnableOutput()
-#$ if ( Project('WXCONFIGS') !~ '\bDebugDll\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
+#$ Project('WXCONFIGS') =~ '\bDebugDll\b' || DisableOutput()
#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug DLL"');
+#$ Project('WXCONFIGS') =~ '\bDebugDll\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
# ADD LINK32 #$ $text = "$project{'VC_LINK_DEBUG'} $project{'WX_LINK_DEBUG_DLL'}";
#$ Project('WXCONFIGS') =~ '\bDebugDll\b' || EnableOutput()
-#$ if ( Project('WXCONFIGS') !~ '\bRelease\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
+#$ Project('WXCONFIGS') =~ '\bRelease\b' || DisableOutput()
#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Release"');
+#$ Project('WXCONFIGS') =~ '\bRelease\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 0
# ADD LINK32 #$ $text = "$project{'VC_LINK_RELEASE'} $project{'WX_LINK_RELEASE'}";
#$ Project('WXCONFIGS') =~ '\bRelease\b' || EnableOutput()
-#$ if ( Project('WXCONFIGS') !~ '\bDebug\b' ) { Project('__IF = !ELSEIF'); DisableOutput() };
+#$ Project('WXCONFIGS') =~ '\bDebug\b' || DisableOutput()
#$ Substitute(' $$__IF "$(CFG)" == "$$TARGET - Win32 Debug"');
+#$ Project('WXCONFIGS') =~ '\bDebug\b' && Project('__IF = !ELSEIF')
# PROP BASE Use_MFC 0
# PROP BASE Use_Debug_Libraries 1
#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || DisableOutput()
# Name #$ Substitute('"$$TARGET - Win32 Debug Unicode DLL"');
#$ Project('WXCONFIGS') =~ '\bDebugUnicodeDll\b' || EnableOutput()
-#$ Project('WXCONFIGS') =~ '\bUnicodeDll\b' || DisableOutput()
+#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || DisableOutput()
# Name #$ Substitute('"$$TARGET - Win32 Release Unicode"');
-#$ Project('WXCONFIGS') =~ '\bUnicodeDll\b' || EnableOutput()
+#$ Project('WXCONFIGS') =~ '\bReleaseUnicode\b' || EnableOutput()
#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || DisableOutput()
# Name #$ Substitute('"$$TARGET - Win32 Debug Unicode"');
#$ Project('WXCONFIGS') =~ '\bDebugUnicode\b' || EnableOutput()