summaryrefslogtreecommitdiff
path: root/CMakeLists.txt.linux
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.linux
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.linux')
-rw-r--r--CMakeLists.txt.linux27
1 files changed, 8 insertions, 19 deletions
diff --git a/CMakeLists.txt.linux b/CMakeLists.txt.linux
index ad28fb1..6d640cf 100644
--- a/CMakeLists.txt.linux
+++ b/CMakeLists.txt.linux
@@ -2,8 +2,6 @@ find_package(OpenSSL REQUIRED)
find_package(ALSA)
find_package(OSS)
-set(CMAKE_VERBOSE_MAKEFILE ON)
-
if (FQTERM_USE_STATIC_QT)
ADD_DEFINITIONS(-DFQTERM_USE_STATIC_QT)
endif(FQTERM_USE_STATIC_QT)
@@ -22,11 +20,8 @@ endif(ALSA_FOUND)
ADD_DEFINITIONS(-Wall)
ADD_DEFINITIONS(-D_OS_LINUX_)
-ADD_DEFINITIONS(-D "FQTERM_VERSION_STRING=\\\"${FQTERM_VERSION}\\\"")
ADD_DEFINITIONS(--std=c++11)
-add_subdirectory(src)
-
ADD_EXECUTABLE(fqterm.bin
src/fqterm/main.cpp
)
@@ -65,28 +60,22 @@ link_directories(
if (FQTERM_USE_STATIC_QT)
set(FQ_QT_STATIC_PLUGINS
- ${QT_PLUGINS_DIR}/imageformats/libqgif.a
- ${QT_PLUGINS_DIR}/imageformats/libqjpeg.a
- ${QT_PLUGINS_DIR}/imageformats/libqmng.a
- ${QT_PLUGINS_DIR}/codecs/libqcncodecs.a
- ${QT_PLUGINS_DIR}/codecs/libqjpcodecs.a
- ${QT_PLUGINS_DIR}/codecs/libqkrcodecs.a
+ ${QT_PLUGINS_DIR}/imageformats/libqgif.a
+ ${QT_PLUGINS_DIR}/imageformats/libqjpeg.a
+ ${QT_PLUGINS_DIR}/imageformats/libqmng.a
+ ${QT_PLUGINS_DIR}/codecs/libqcncodecs.a
+ ${QT_PLUGINS_DIR}/codecs/libqjpcodecs.a
+ ${QT_PLUGINS_DIR}/codecs/libqkrcodecs.a
${QT_PLUGINS_DIR}/codecs/libqtwcodecs.a
jpeg
)
endif(FQTERM_USE_STATIC_QT)
target_link_libraries(fqterm.bin
- fqterm_main
- fqterm_terminal
- fqterm_protocol
- fqterm_utilities
- fqterm_ui
- fqterm_common
- fqterm_unite
+ ${FQTERM_LIBS}
${QT_QTNETWORK_LIBRARIES}
${QT_QTXML_LIBRARIES}
- ${QT_QTSCRIPT_LIBRARIES}
+ ${QT_QTSCRIPT_LIBRARIES}
${FQ_QT_STATIC_PLUGINS}
${QT_LIBRARIES}
${OPENSSL_LIBRARIES}