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:
Peter Kümmel 2006-09-03 17:51:53 +00:00
parent 3663e1161a
commit 92d84f2a04
12 changed files with 31 additions and 12 deletions

View File

@ -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)

View File

@ -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})

View File

@ -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})

View File

@ -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})

View File

@ -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})

View File

@ -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})

View File

@ -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})

View File

@ -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})

View File

@ -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})

View File

@ -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})

View File

@ -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})

View File

@ -38,4 +38,5 @@ add_executable(tex2lyx ${tex2lyx_SRCS})
target_link_libraries(tex2lyx support )
source_group("${CODE_GROUP_NAME}" FILES ${tex2lyx_SRCS})