[glib/glib-2-50] build/win32/detectenv-msvc.mak: Make it usable from Visual Studio projects
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-50] build/win32/detectenv-msvc.mak: Make it usable from Visual Studio projects
- Date: Fri, 17 Feb 2017 10:00:52 +0000 (UTC)
commit c8a70218ce5dd5fe35b12825235125238c381b90
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Fri Feb 17 18:00:02 2017 +0800
build/win32/detectenv-msvc.mak: Make it usable from Visual Studio projects
As in the version in of this NMake Makefile module in G-I, support
CFG == Release|Debug, which is what is used in the Visual Studio
projects, so that:
-This file will be in sync with the one in G-I
-Other projects that make use of this can integrate this NMake Makefile
module in their Visual Studio project files.
build/win32/detectenv-msvc.mak | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/build/win32/detectenv-msvc.mak b/build/win32/detectenv-msvc.mak
index e4548d7..6fd96cc 100644
--- a/build/win32/detectenv-msvc.mak
+++ b/build/win32/detectenv-msvc.mak
@@ -57,7 +57,7 @@ version is not supported.
!endif
VALID_CFGSET = FALSE
-!if "$(CFG)" == "release" || "$(CFG)" == "debug"
+!if "$(CFG)" == "release" || "$(CFG)" == "debug" || "$(CFG)" == "Release" || "$(CFG)" == "Debug"
VALID_CFGSET = TRUE
!endif
@@ -65,7 +65,7 @@ VALID_CFGSET = TRUE
# using .pdb files for release builds
CFLAGS_BASE = /Zi
-!if "$(CFG)" == "release"
+!if "$(CFG)" == "release" || "$(CFG)" == "Release"
CFLAGS_ADD = /MD /O2 $(CFLAGS_BASE)
!else
CFLAGS_ADD = /MDd /Od $(CFLAGS_BASE)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]