Commit 2253b49e authored by Albert's avatar Albert

Doxysearch under Cygwin should not have extension cgi.exe but just .cgi

parent 8c9e8297
TEMPLATE = app.t
CONFIG = console warn_on debug
CONFIG = console warn_on debug cgi
HEADERS =
SOURCES = doxysearch.cpp
LIBS += -lxapian
......
......@@ -80,13 +80,17 @@
$project{"TARGET_EXT"} = ".dll";
}
} else {
Project('TMAKE_LFLAGS_CONSOLE_ANY = $$TMAKE_LFLAGS_CONSOLE');
Project('TMAKE_LFLAGS_WINDOWS_ANY = $$TMAKE_LFLAGS_WINDOWS');
if ( Project("TMAKE_APP_FLAG") ) {
$project{"TARGET_EXT"} = ".exe";
} else {
$project{"TARGET_EXT"} = ".a";
}
if ( Config("cgi") ) {
Project('TMAKE_LFLAGS_CONSOLE_ANY = $$TMAKE_LFLAGS_CONSOLE');
Project('TMAKE_LFLAGS_WINDOWS_ANY = $$TMAKE_LFLAGS_WINDOWS');
$project{"TARGET_EXT"} = "";
} else {
if ( Project("TMAKE_APP_FLAG") ) {
$project{"TARGET_EXT"} = ".exe";
} else {
$project{"TARGET_EXT"} = ".a";
}
}
}
if ( Config("windows") ) {
if ( Config("console") ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment