From 47ba9de7cf2975789e5cac916794cfc736ceeaf5 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 22 May 2007 20:49:04 +0000 Subject: 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 --- win/configure.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'win') 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"); -- cgit v1.2.3