mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Remove moc-files from the set of source files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33228 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
9eabfb51ac
commit
686cd4e3a5
@ -108,6 +108,7 @@ endif()
|
||||
# lyx's source files
|
||||
set(LYX_CPP_FILES *.cpp)
|
||||
set(LYX_HPP_FILES *.h)
|
||||
set(LYX_MOC_FILES moc_*.cpp)
|
||||
|
||||
include(LyXMacros)
|
||||
include(ProjectSourceGroup)
|
||||
|
@ -20,6 +20,8 @@ if (UNIX)
|
||||
endif()
|
||||
|
||||
file(GLOB lyx_sources ${TOP_SRC_DIR}/src/${LYX_CPP_FILES})
|
||||
file(GLOB moc_files ${TOP_SRC_DIR}/src/${LYX_MOC_FILES})
|
||||
list(REMOVE_ITEM lyx_sources ${moc_files} .)
|
||||
file(GLOB lyx_headers ${TOP_SRC_DIR}/src/${LYX_HPP_FILES})
|
||||
|
||||
list(REMOVE_ITEM lyx_sources
|
||||
|
@ -8,6 +8,9 @@ project(frontend_qt4)
|
||||
|
||||
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} .)
|
||||
|
||||
file(GLOB frontends_qt4_headers
|
||||
${TOP_SRC_DIR}/src/frontends/qt4/${LYX_HPP_FILES})
|
||||
file(GLOB frontend_qt4_UI
|
||||
|
@ -7,6 +7,9 @@
|
||||
project(support)
|
||||
|
||||
file(GLOB support_sources ${TOP_SRC_DIR}/src/support/${LYX_CPP_FILES})
|
||||
file(GLOB moc_files ${TOP_SRC_DIR}/src/support/${LYX_MOC_FILES})
|
||||
list(REMOVE_ITEM support_sources ${moc_files} .)
|
||||
|
||||
file(GLOB support_headers ${TOP_SRC_DIR}/src/support/${LYX_HPP_FILES})
|
||||
|
||||
file(GLOB support_mythes_sources ${TOP_SRC_DIR}/src/support/mythes/*.cxx)
|
||||
|
Loading…
Reference in New Issue
Block a user