summaryrefslogtreecommitdiff
path: root/CMakeLists.txt.mingw
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2016-04-03 00:22:30 +0800
committerIru Cai <mytbk920423@gmail.com>2016-04-03 00:57:00 +0800
commitb91ee982b8ce1e08aad128a65312501ef5dd8ecd (patch)
tree0614c2259f773492e6bbe2fc52d1523171e39d55 /CMakeLists.txt.mingw
parenta65de06d0207ade36f9cc754e98c5d91c365b7f5 (diff)
downloadfqterm-b91ee982b8ce1e08aad128a65312501ef5dd8ecd.tar.xz
CMakeLists.txt cleanup
- remove qt4_automoc - set VERBOSE_MAKEFILE - set FQTERM_LIBS - remove trailing spaces and empty lines
Diffstat (limited to 'CMakeLists.txt.mingw')
-rw-r--r--CMakeLists.txt.mingw18
1 files changed, 4 insertions, 14 deletions
diff --git a/CMakeLists.txt.mingw b/CMakeLists.txt.mingw
index 69e6ddf..9163144 100644
--- a/CMakeLists.txt.mingw
+++ b/CMakeLists.txt.mingw
@@ -1,17 +1,13 @@
find_package(OpenSSL REQUIRED)
-set(CMAKE_VERBOSE_MAKEFILE ON)
#ADD_DEFINITIONS(-DUSE_DOTNET_STYLE)
-ADD_DEFINITIONS(-D "FQTERM_VERSION_STRING=\\\"${FQTERM_VERSION}\\\"")
if(FQTERM_USE_STATIC_QT)
ADD_DEFINITIONS(-DFQTERM_USE_STATIC_QT)
REMOVE_DEFINITIONS(-DQT_DLL)
endif(FQTERM_USE_STATIC_QT)
-add_subdirectory(src)
-
set(fqterm_RCS
- fqterm.rc
+ fqterm.rc
)
include_directories(
@@ -49,17 +45,11 @@ else(FQTERM_USE_STATIC_QT)
)
endif(FQTERM_USE_STATIC_QT)
-target_link_libraries(fqterm
- fqterm_main
- fqterm_terminal
- fqterm_protocol
- fqterm_utilities
- fqterm_ui
- fqterm_common
- fqterm_unite
+target_link_libraries(fqterm
+ ${FQTERM_LIBS}
${QT_QTNETWORK_LIBRARIES}
${QT_QTXML_LIBRARIES}
- ${QT_QTSCRIPT_LIBRARIES}
+ ${QT_QTSCRIPT_LIBRARIES}
${FQ_QT_STATIC_PLUGINS}
${QT_LIBRARIES}
${PYTHON_LIB}