mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Headers and .C files are now in The Golden Code folder
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@14883 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3663e1161a
commit
92d84f2a04
@ -1,6 +1,9 @@
|
||||
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/modules")
|
||||
|
||||
|
||||
set(CODE_GROUP_NAME "The Golden Code")
|
||||
|
||||
include(LyXPaths)
|
||||
include(LyXMacros)
|
||||
|
||||
|
@ -77,3 +77,6 @@ add_library(intl STATIC ${intl_sources} ${intl_headers})
|
||||
if(ICONV_FOUND)
|
||||
target_link_libraries(intl ${ICONV_LIBRARY})
|
||||
endif(ICONV_FOUND)
|
||||
|
||||
source_group("${CODE_GROUP_NAME}" FILES ${intl_sources} ${intl_headers})
|
||||
|
||||
|
@ -22,6 +22,8 @@ list(REMOVE_ITEM lyx_sources
|
||||
${TOP_SRC_DIR}/src/Variables.C
|
||||
${TOP_SRC_DIR}/src/Sectioning.C)
|
||||
|
||||
set( lyx_sources ${lyx_sources} ${CMAKE_CURRENT_BINARY_DIR}/version.C )
|
||||
|
||||
if(ASPELL_FOUND)
|
||||
include_directories(${ASPELL_INCLUDE_DIR})
|
||||
set(lyx_sources ${lyx_sources} ${TOP_SRC_DIR}/src/aspell.C)
|
||||
@ -52,3 +54,7 @@ target_link_libraries(lyx-${qt_postfix}
|
||||
if(ASPELL_FOUND)
|
||||
target_link_libraries(lyx-${qt_postfix} ${ASPELL_LIBRARY})
|
||||
endif(ASPELL_FOUND)
|
||||
|
||||
source_group("${CODE_GROUP_NAME}" FILES ${lyx_sources} ${lyx_headers})
|
||||
|
||||
|
||||
|
@ -12,5 +12,5 @@ file(GLOB frontends_headers ${TOP_SRC_DIR}/src/frontends/*.h)
|
||||
|
||||
add_library(frontends STATIC ${frontends_sources} ${frontends_headers})
|
||||
|
||||
|
||||
source_group("${CODE_GROUP_NAME}" FILES ${frontends_sources} ${frontends_headers})
|
||||
|
||||
|
@ -9,8 +9,5 @@ add_library(controllers STATIC ${controllers_sources} ${controllers_headers})
|
||||
|
||||
target_link_libraries(controllers boost_regex boost_filesystem)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
source_group("${CODE_GROUP_NAME}" FILES ${controllers_sources} ${controllers_headers})
|
||||
|
||||
|
@ -35,3 +35,6 @@ if(WIN32)
|
||||
target_link_libraries(frontend_qt3 Gdi32)
|
||||
endif(WIN32)
|
||||
|
||||
source_group("${CODE_GROUP_NAME}" FILES ${frontends_qt3_sources} ${frontends_qt3_headers})
|
||||
source_group("Uic files" FILES ${frontend_qt3_UI})
|
||||
|
||||
|
@ -10,8 +10,6 @@ lyx_automoc(${frontends_qt4_sources})
|
||||
|
||||
lyx_add_ui_files(frontends_qt4_sources ${frontend_qt4_UI})
|
||||
|
||||
source_group("Uic files" FILES ${frontend_qt4_UI})
|
||||
|
||||
add_definitions(
|
||||
-DQT_CLEAN_NAMESPACE
|
||||
-DQT_GENUINE_STR
|
||||
@ -31,3 +29,6 @@ if(WIN32)
|
||||
target_link_libraries(frontend_qt4 Gdi32)
|
||||
endif(WIN32)
|
||||
|
||||
source_group("${CODE_GROUP_NAME}" FILES ${frontends_qt4_sources} ${frontends_qt4_headers})
|
||||
source_group("Uic files" FILES ${frontend_qt4_UI})
|
||||
|
||||
|
@ -7,3 +7,5 @@ include_directories(${TOP_SRC_DIR}/src/graphics)
|
||||
|
||||
add_library(graphics STATIC ${graphics_sources} ${graphics_headers})
|
||||
|
||||
source_group("${CODE_GROUP_NAME}" FILES ${graphics_sources} ${graphics_headers})
|
||||
|
||||
|
@ -9,3 +9,5 @@ include_directories(${TOP_SRC_DIR}/src/insets)
|
||||
|
||||
add_library(insets STATIC ${insets_sources} ${insets_headers})
|
||||
|
||||
source_group("${CODE_GROUP_NAME}" FILES ${insets_sources} ${insets_headers})
|
||||
|
||||
|
@ -12,4 +12,5 @@ include_directories(${TOP_SRC_DIR}/src/mathed)
|
||||
|
||||
add_library(mathed STATIC ${mathed_sources} ${mathed_headers})
|
||||
|
||||
source_group("${CODE_GROUP_NAME}" FILES ${mathed_sources} ${mathed_headers})
|
||||
|
||||
|
@ -14,12 +14,12 @@ list(REMOVE_ITEM support_sources
|
||||
${TOP_SRC_DIR}/src/support/strerror.c)
|
||||
|
||||
|
||||
set(support_sources ${support_sources} ${CMAKE_CURRENT_BINARY_DIR}/package.C)
|
||||
|
||||
include_directories(${TOP_SRC_DIR}/src/support ${ICONV_INCLUDE_DIR})
|
||||
|
||||
add_library(support STATIC
|
||||
${support_sources}
|
||||
${support_headers}
|
||||
${CMAKE_CURRENT_BINARY_DIR}/package.C)
|
||||
|
||||
add_library(support STATIC ${support_sources} ${support_headers})
|
||||
|
||||
target_link_libraries(support boost_signals)
|
||||
|
||||
@ -27,5 +27,5 @@ if(WIN32)
|
||||
target_link_libraries(support shlwapi)
|
||||
endif(WIN32)
|
||||
|
||||
|
||||
source_group("${CODE_GROUP_NAME}" FILES ${support_sources} ${support_headers})
|
||||
|
||||
|
@ -38,4 +38,5 @@ add_executable(tex2lyx ${tex2lyx_SRCS})
|
||||
|
||||
target_link_libraries(tex2lyx support )
|
||||
|
||||
source_group("${CODE_GROUP_NAME}" FILES ${tex2lyx_SRCS})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user