X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fcmake%2Fsrc%2Finsets%2FCMakeLists.txt;h=c86faf58d0ed4036265c797c931a79cf21aa6931;hb=6040a5faf6e6ca8fb88315984a6f3c09c8fcef80;hp=75b9ab272def24bef2cb048b9aeab6b841ceab45;hpb=330db5cce1e21125298d3d618d10268d43116637;p=lyx.git diff --git a/development/cmake/src/insets/CMakeLists.txt b/development/cmake/src/insets/CMakeLists.txt index 75b9ab272d..c86faf58d0 100644 --- a/development/cmake/src/insets/CMakeLists.txt +++ b/development/cmake/src/insets/CMakeLists.txt @@ -1,110 +1,28 @@ +# This file is part of LyX, the document processor. +# Licence details can be found in the file COPYING. +# +# Copyright (c) 2006, Peter Kümmel, +# + project(insets) -set(insets_sources - mailinset.C - mailinset.h - ExternalSupport.C - ExternalSupport.h - ExternalTemplate.C - ExternalTemplate.h - ExternalTransforms.C - ExternalTransforms.h - render_base.h - render_button.C - render_button.h - render_graphic.C - render_graphic.h - render_preview.C - render_preview.h - inset.C - inset.h - insetbase.h - insetbase.C - insetbibitem.C - insetbibitem.h - insetbibtex.C - insetbibtex.h - insetbox.C - insetbox.h - insetbranch.C - insetbranch.h - insetcaption.C - insetcaption.h - insetcharstyle.C - insetcharstyle.h - insetcite.C - insetcite.h - insetcollapsable.C - insetcollapsable.h - insetcommand.C - insetcommand.h - insetcommandparams.C - insetcommandparams.h - insetenv.C - insetenv.h - insetert.C - insetert.h - insetexternal.C - insetexternal.h - insetfloat.h - insetfloat.C - insetfloatlist.C - insetfloatlist.h - insetfoot.C - insetfoot.h - insetfootlike.C - insetfootlike.h - insetgraphicsParams.h - insetgraphicsParams.C - insetgraphics.C - insetgraphics.h - insethfill.C - insethfill.h - insetinclude.C - insetinclude.h - insetindex.C - insetindex.h - insetlabel.C - insetlabel.h - insetlatexaccent.C - insetlatexaccent.h - insetline.C - insetline.h - insetmarginal.h - insetmarginal.C - insetnewline.C - insetnewline.h - insetnote.C - insetnote.h - insetoptarg.C - insetoptarg.h - insetpagebreak.C - insetpagebreak.h - insetquotes.C - insetquotes.h - insetref.C - insetref.h - insetspace.C - insetspace.h - insetspecialchar.C - insetspecialchar.h - insettabular.C - insettabular.h - insettext.C - insettext.h - insettoc.C - insettoc.h - inseturl.C - inseturl.h - insetvspace.C - insetvspace.h - insetwrap.h - insetwrap.C -) +file(GLOB insets_sources ${TOP_SRC_DIR}/src/insets/${LYX_CPP_FILES}) +file(GLOB insets_headers ${TOP_SRC_DIR}/src/insets/${LYX_HPP_FILES}) + +list(REMOVE_ITEM insets_sources ${TOP_SRC_DIR}/src/insets/InsetTheorem.cpp) -lyx_add_path(insets_sources ${TOP_SRC_DIR}/src/insets) +lyx_add_msvc_pch(insets) include_directories(${TOP_SRC_DIR}/src/insets) -add_library(insets STATIC ${insets_sources}) + +if(NOT MERGE_FILES) + add_library(insets ${library_type} ${insets_sources} ${insets_headers}) +else() + lyx_const_touched_files(_allinone insets_sources) + add_library(insets ${library_type} ${_allinone_files}) +endif() + + +project_source_group("${GROUP_CODE}" insets_sources insets_headers)