diff options
author | Albert <albert.tests@gmail.com> | 2013-10-20 16:25:17 (GMT) |
---|---|---|
committer | Albert <albert.tests@gmail.com> | 2013-10-20 16:25:17 (GMT) |
commit | 2253b49ead5971b53e48832ff130a127b92f6157 (patch) | |
tree | 7bf4dac5352c914b1f935cafa6719cc183495518 | |
parent | 8c9e829765aeac42e9c9096e322812b582052782 (diff) | |
download | Doxygen-2253b49ead5971b53e48832ff130a127b92f6157.zip Doxygen-2253b49ead5971b53e48832ff130a127b92f6157.tar.gz Doxygen-2253b49ead5971b53e48832ff130a127b92f6157.tar.bz2 |
Doxysearch under Cygwin should not have extension cgi.exe but just .cgi
-rw-r--r-- | addon/doxysearch/doxysearch.pro.in | 2 | ||||
-rw-r--r-- | tmake/lib/win32-g++/generic.t | 18 |
2 files changed, 12 insertions, 8 deletions
diff --git a/addon/doxysearch/doxysearch.pro.in b/addon/doxysearch/doxysearch.pro.in index c9654b0..c860fd1 100644 --- a/addon/doxysearch/doxysearch.pro.in +++ b/addon/doxysearch/doxysearch.pro.in @@ -1,5 +1,5 @@ TEMPLATE = app.t -CONFIG = console warn_on debug +CONFIG = console warn_on debug cgi HEADERS = SOURCES = doxysearch.cpp LIBS += -lxapian diff --git a/tmake/lib/win32-g++/generic.t b/tmake/lib/win32-g++/generic.t index 5f6289f..83fc890 100644 --- a/tmake/lib/win32-g++/generic.t +++ b/tmake/lib/win32-g++/generic.t @@ -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") ) { |