mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-14 01:22:33 +00:00
cmake: also build the tarball with its additional files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@34885 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
7ec50e6206
commit
e93c2e656c
@ -147,7 +147,7 @@ if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||
endif()
|
||||
if(WIN32)
|
||||
SET(CMAKE_INSTALL_PREFIX
|
||||
${CMAKE_INSTALL_PREFIX}/${LYX_INSTALL_SUFFIX} CACHE PATH "LyX install prefix" FORCE)
|
||||
${CMAKE_BINARY_DIR}/LYX_INSTALLED CACHE PATH "LyX install prefix" FORCE)
|
||||
endif()
|
||||
endif(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
|
||||
|
||||
|
@ -26,7 +26,10 @@ list(REMOVE_ITEM lyx_sources
|
||||
${TOP_SRC_DIR}/src/PSpell.cpp
|
||||
${TOP_SRC_DIR}/src/ISpell.cpp
|
||||
${TOP_SRC_DIR}/src/Variables.cpp
|
||||
${TOP_SRC_DIR}/src/Section.cpp)
|
||||
${TOP_SRC_DIR}/src/Section.cpp
|
||||
${TOP_SRC_DIR}/src/lyxcore.cpp
|
||||
${TOP_SRC_DIR}/src/lyxinsets.cpp
|
||||
${TOP_SRC_DIR}/src/lyxmathed.cpp)
|
||||
|
||||
if (ASPELL_FOUND)
|
||||
include_directories(${ASPELL_INCLUDE_DIR})
|
||||
|
@ -10,7 +10,9 @@ project(${_lyxclient})
|
||||
|
||||
file(GLOB _lyxclient_sources ${TOP_SRC_DIR}/src/client/*.cpp)
|
||||
file(GLOB _lyxclient_headers ${TOP_SRC_DIR}/src/client/*.h)
|
||||
|
||||
list(REMOVE_ITEM _lyxclient_headers "${TOP_SRC_DIR}/src/client/pch.h")
|
||||
list(REMOVE_ITEM _lyxclient_sources "${TOP_SRC_DIR}/src/client/lyxclient.cpp")
|
||||
|
||||
include_directories(BEFORE "${TOP_SRC_DIR}/src/client"
|
||||
"${TOP_SRC_DIR}/boost" ${ZLIB_INCLUDE_DIR})
|
||||
|
@ -6,17 +6,19 @@
|
||||
|
||||
project(frontend_qt4)
|
||||
|
||||
file(GLOB frontends_qt4_sources
|
||||
${TOP_SRC_DIR}/src/frontends/qt4/${LYX_CPP_FILES})
|
||||
file(GLOB frontends_qt4_sources ${TOP_SRC_DIR}/src/frontends/qt4/${LYX_CPP_FILES})
|
||||
file(GLOB moc_files ${TOP_SRC_DIR}/src/frontends/qt4/${LYX_MOC_FILES})
|
||||
|
||||
list(REMOVE_ITEM frontends_qt4_sources ${moc_files} .)
|
||||
list(REMOVE_ITEM frontends_qt4_sources ${TOP_SRC_DIR}/src/frontends/qt4/liblyxqt4.cpp)
|
||||
list(REMOVE_ITEM frontends_qt4_sources ${TOP_SRC_DIR}/src//src/frontends/qt4/Resources.cpp)
|
||||
|
||||
|
||||
file(GLOB frontends_qt4_headers
|
||||
${TOP_SRC_DIR}/src/frontends/qt4/${LYX_HPP_FILES})
|
||||
file(GLOB frontend_qt4_UI
|
||||
${TOP_SRC_DIR}/src/frontends/qt4/ui/*.ui)
|
||||
|
||||
|
||||
lyx_add_msvc_pch(frontends_qt4)
|
||||
|
||||
lyx_automoc(${frontends_qt4_sources})
|
||||
|
Loading…
Reference in New Issue
Block a user