diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2015-02-12 19:44:35 -0800 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2015-02-12 19:44:35 -0800 |
commit | a2ad5584318ee80af7955e9834f7f7c02eeca6bc (patch) | |
tree | e35ca13451966c91ae056207ae58c8eae56cab07 /templates/vsprojects/vs2013 | |
parent | eca654748458c7f90b56d2408b01a42557053eee (diff) |
polishing of Grpc.mak
Diffstat (limited to 'templates/vsprojects/vs2013')
-rw-r--r-- | templates/vsprojects/vs2013/Grpc.mak.template | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/templates/vsprojects/vs2013/Grpc.mak.template b/templates/vsprojects/vs2013/Grpc.mak.template index ff4f198dbc..9cec9361f2 100644 --- a/templates/vsprojects/vs2013/Grpc.mak.template +++ b/templates/vsprojects/vs2013/Grpc.mak.template @@ -12,6 +12,12 @@ OUT_DIR=test_bin +CC=cl.exe +LINK=link.exe +CFLAGS=/c /I..\.. /I..\..\include /nologo /Z7 /W3 /WX- /sdl /D WIN32 /D _LIB /D _USE_32BIT_TIME_T /D _UNICODE /D UNICODE /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Gd /TC /analyze- +LFLAGS=/DEBUG /INCREMENTAL /NOLOGO /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X86 +LIBS= + gpr_test_util: MSBuild.exe gpr_test_util.vcxproj /p:Configuration=Debug @@ -45,20 +51,20 @@ ${target.name} \ % for target in buildable_targets: ${target.name}.exe: grpc_test_util echo Building ${target.name} - cl.exe /c /I..\.. /I..\..\include /nologo /Z7 /W3 /WX- /sdl /D WIN32 /D _LIB /D _USE_32BIT_TIME_T /D _UNICODE /D UNICODE /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Gd /TC /analyze- /Fo:$(OUT_DIR)\ \ + $(CC) $(CFLAGS) /Fo:$(OUT_DIR)\ \ %for source in target.src: ..\..\${to_windows_path(source)} \ %endfor - link.exe /DEBUG /OUT:"$(OUT_DIR)\${target.name}.exe" /INCREMENTAL /NOLOGO /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X86 \ + $(LINK) $(LFLAGS) /OUT:"$(OUT_DIR)\${target.name}.exe" \ %for dep in target.deps: Debug\${dep}.lib \ %endfor +$(LIBS) \ %for source in target.src: $(OUT_DIR)\${re.search('([^/]+)\.c$', source).group(1)}.obj \ %endfor - ${target.name}: ${target.name}.exe echo Running ${target.name} $(OUT_DIR)\${target.name}.exe |