Permalink
Browse files

prevent disappearing console window immediately

  • Loading branch information...
1 parent 8db6f7c commit 2878756a16c37331d67f718cd601d192ba2ffc34 @eldesh committed Oct 19, 2011
Showing with 3 additions and 1 deletion.
  1. +1 −1 peg/src/peg.c
  2. +2 −0 sample/sample/sample.vcxproj
View
@@ -46,11 +46,11 @@
* Principles of programming languages
*
***************************************************************************** ****/
+
/**
* compile :
* > gcc -g -Wall -I peg/include -o libpeg.o -c peg/src/peg.c
*/
-
// ignore warnings
#define _CRT_SECURE_NO_WARNINGS
#define _CRT_NONSTDC_NO_DEPRECATE
@@ -59,6 +59,7 @@
<AdditionalLibraryDirectories>$(SolutionDir)peg\lib;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<AdditionalDependencies>inhertpeg_d.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
+ <SubSystem>Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
@@ -76,6 +77,7 @@
<AdditionalLibraryDirectories>$(SolutionDir)peg\lib</AdditionalLibraryDirectories>
<AdditionalDependencies>inhertpeg.lib;%(AdditionalDependencies)</AdditionalDependencies>
<OutputFile>$(OutDir)$(TargetName)$(TargetExt)</OutputFile>
+ <SubSystem>Console</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemGroup>

0 comments on commit 2878756

Please sign in to comment.