summaryrefslogtreecommitdiff
path: root/win/configure.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-22 20:49:04 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-22 20:49:04 +0000
commit47ba9de7cf2975789e5cac916794cfc736ceeaf5 (patch)
treede9fe27f9432a757e5c2fa594387d086606540e6 /win/configure.cpp
parent51c06dcf84c255d60c576bd19c0e01048f4c40d5 (diff)
Have configure try and create ..\bin\release\* and/or ..\bin\debug\*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7118 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'win/configure.cpp')
-rw-r--r--win/configure.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/win/configure.cpp b/win/configure.cpp
index 1d5ec3d6d..63bf5fd25 100644
--- a/win/configure.cpp
+++ b/win/configure.cpp
@@ -374,9 +374,15 @@ void WriteCompileCommands()
#ifdef _DEBUG
fprintf(f, " cl /nologo /LD /Od /I \".\" /I \"../include\" /I \"../include/modes\" /I \"../include/commands\" /I \"../win\" /D \"WIN32\" /D \"_DEBUG\" /D \"_CONSOLE\" /D \"_MBCS\" /D \"DLL_BUILD\" /Gm /EHsc /GS /RTC1 /MTd /Fo\"Debug/\" /Fd\"Debug/vc70.pdb\" /W3 /Wp64 /Zi /TP $*.cpp ..\\win\\inspircd_memory_functions.cpp /link ..\\bin\\debug\\bin\\inspircd.lib /OUT:\"..\\bin\\debug\\lib\\$*.so\" /PDB:\"..\\bin\\debug\\lib\\$*.pdb\" /IMPLIB:\"..\\bin\\debug\\lib\\$*.lib\"\n\n");
CreateDirectory("..\\src\\debug", NULL);
+ CreateDirectory("..\\bin\\debug\\bin", NULL);
+ CreateDirectory("..\\bin\\debug\\lib", NULL);
+ CreateDirectory("..\\bin\\debug\\modules", NULL);
#else
fprintf(f, " cl /nologo /LD /Od /I \".\" /I \"../include\" /I \"../include/modes\" /I \"../include/commands\" /I \"../win\" /D \"WIN32\" /D \"_CONSOLE\" /D \"_MBCS\" /D \"DLL_BUILD\" /EHsc /GS /MT /Fo\"Release/\" /Fd\"Release/vc70.pdb\" /W3 /Wp64 /Zi /TP $*.cpp ..\\win\\inspircd_memory_functions.cpp /link ..\\bin\\release\\bin\\inspircd.lib /OUT:\"..\\bin\\release\\lib\\$*.so\" /PDB:\"..\\bin\\release\\lib\\$*.pdb\" /IMPLIB:\"..\\bin\\release\\lib\\$*.lib\"\n\n");
CreateDirectory("..\\src\\release", NULL);
+ CreateDirectory("..\\bin\\release\\bin", NULL);
+ CreateDirectory("..\\bin\\release\\lib", NULL);
+ CreateDirectory("..\\bin\\release\\modules", NULL);
#endif
fprintf(f, "makedir:\n if not exist debug mkdir debug\n\n");