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 TEMPLATE = app.t
CONFIG = console warn_on debug CONFIG = console warn_on debug cgi
HEADERS = HEADERS =
SOURCES = doxysearch.cpp SOURCES = doxysearch.cpp
LIBS += -lxapian LIBS += -lxapian
......
...@@ -80,14 +80,18 @@ ...@@ -80,14 +80,18 @@
$project{"TARGET_EXT"} = ".dll"; $project{"TARGET_EXT"} = ".dll";
} }
} else { } else {
if ( Config("cgi") ) {
Project('TMAKE_LFLAGS_CONSOLE_ANY = $$TMAKE_LFLAGS_CONSOLE'); Project('TMAKE_LFLAGS_CONSOLE_ANY = $$TMAKE_LFLAGS_CONSOLE');
Project('TMAKE_LFLAGS_WINDOWS_ANY = $$TMAKE_LFLAGS_WINDOWS'); Project('TMAKE_LFLAGS_WINDOWS_ANY = $$TMAKE_LFLAGS_WINDOWS');
$project{"TARGET_EXT"} = "";
} else {
if ( Project("TMAKE_APP_FLAG") ) { if ( Project("TMAKE_APP_FLAG") ) {
$project{"TARGET_EXT"} = ".exe"; $project{"TARGET_EXT"} = ".exe";
} else { } else {
$project{"TARGET_EXT"} = ".a"; $project{"TARGET_EXT"} = ".a";
} }
} }
}
if ( Config("windows") ) { if ( Config("windows") ) {
if ( Config("console") ) { if ( Config("console") ) {
Project('TMAKE_LFLAGS *= $$TMAKE_LFLAGS_CONSOLE_ANY'); Project('TMAKE_LFLAGS *= $$TMAKE_LFLAGS_CONSOLE_ANY');
......
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