1 Star 0 Fork 1

shuaiingXie/fqterm

forked from mirrors_anthonyfok/fqterm 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt.mingw 1.20 KB
一键复制 编辑 原始数据 按行查看 历史
Iru Cai 提交于 2018-05-17 16:06 . add -mwindows in mingw
#ADD_DEFINITIONS(-DUSE_DOTNET_STYLE)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mwindows")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mwindows")
if(FQTERM_USE_STATIC_QT)
ADD_DEFINITIONS(-DFQTERM_USE_STATIC_QT)
REMOVE_DEFINITIONS(-DQT_DLL)
endif(FQTERM_USE_STATIC_QT)
set(fqterm_RCS
fqterm.rc
)
include_directories(
${QT_INCLUDE_DIR}
${QT_QTCORE_INCLUDE_DIR}
${QT_QTGUI_INCLUDE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/src/common
${CMAKE_CURRENT_SOURCE_DIR}/src/protocol
${CMAKE_CURRENT_SOURCE_DIR}/src/terminal
${CMAKE_CURRENT_SOURCE_DIR}/src/utilities
${CMAKE_CURRENT_SOURCE_DIR}/src/ui
)
link_directories(
${QT_PLUGINS_DIR}/codecs
${QT_PLUGINS_DIR}/imageformats
${OPENSSL_ROOT_DIR}/lib
)
ADD_EXECUTABLE(fqterm
src/fqterm/main.cpp
)
if(FQTERM_USE_STATIC_QT)
set(FQ_QT_STATIC_PLUGINS
qcncodecs qjpcodecs qkrcodecs qtwcodecs
)
endif(FQTERM_USE_STATIC_QT)
target_link_libraries(fqterm
${FQTERM_LIBS}
${QT_QTNETWORK_LIBRARIES}
${QT_QTXML_LIBRARIES}
${QT_QTSCRIPT_LIBRARIES}
${FQ_QT_STATIC_PLUGINS}
${QT_LIBRARIES}
${PYTHON_LIB}
${OPENSSL_CRYPTO_LIBRARY}
ws2_32
)
add_dependencies(fqterm
fqterm_main
fqterm_common
fqterm_terminal
fqterm_protocol
fqterm_ui
fqterm_utilities
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/shuaiingxie/fqterm.git
[email protected]:shuaiingxie/fqterm.git
shuaiingxie
fqterm
fqterm
master

搜索帮助