r24275 by craig - Add in ability to use precompiled headers on non-Windows platforms with
scribus-commit
scribus-commit at lists.scribus.net
Sun Nov 22 19:24:36 UTC 2020
Author: craig
Date: Sun Nov 22 19:24:36 2020
New Revision: 24275
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24275
Log:
Add in ability to use precompiled headers on non-Windows platforms with
-DWANT_PCH=ON CMake parameter
Added:
trunk/Scribus/scribus/scribus_pch.h (with props)
Modified:
trunk/Scribus/CMakeLists.txt
trunk/Scribus/scribus/CMakeLists.txt
trunk/Scribus/scribus/plugins/barcodegenerator/CMakeLists.txt
trunk/Scribus/scribus/plugins/colorwheel/CMakeLists.txt
trunk/Scribus/scribus/plugins/export/pixmapexport/CMakeLists.txt
trunk/Scribus/scribus/plugins/export/svgexplugin/CMakeLists.txt
trunk/Scribus/scribus/plugins/export/xpsexport/CMakeLists.txt
trunk/Scribus/scribus/plugins/fileloader/scribus12format/CMakeLists.txt
trunk/Scribus/scribus/plugins/fileloader/scribus134format/CMakeLists.txt
trunk/Scribus/scribus/plugins/fileloader/scribus13format/CMakeLists.txt
trunk/Scribus/scribus/plugins/fileloader/scribus150format/CMakeLists.txt
trunk/Scribus/scribus/plugins/fontpreview/CMakeLists.txt
trunk/Scribus/scribus/plugins/gettext/csvim/CMakeLists.txt
trunk/Scribus/scribus/plugins/gettext/docim/CMakeLists.txt
trunk/Scribus/scribus/plugins/gettext/docxim/CMakeLists.txt
trunk/Scribus/scribus/plugins/gettext/htmlim/CMakeLists.txt
trunk/Scribus/scribus/plugins/gettext/markdownim/CMakeLists.txt
trunk/Scribus/scribus/plugins/gettext/odt2im/CMakeLists.txt
trunk/Scribus/scribus/plugins/gettext/odtim/CMakeLists.txt
trunk/Scribus/scribus/plugins/gettext/pdbim/CMakeLists.txt
trunk/Scribus/scribus/plugins/gettext/rtfim/CMakeLists.txt
trunk/Scribus/scribus/plugins/gettext/sxwim/CMakeLists.txt
trunk/Scribus/scribus/plugins/gettext/textfilter/CMakeLists.txt
trunk/Scribus/scribus/plugins/gettext/txtim/CMakeLists.txt
trunk/Scribus/scribus/plugins/gettext/xtgim/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/ai/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/cdr/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/cgm/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/cvg/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/drw/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/emf/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/fh/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/idml/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/idml_old/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/odg/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/oodraw/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/pages/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/pct/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/pdf/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/pm/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/ps/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/pub/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/qxp/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/shape/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/sml/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/svg/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/svm/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/uniconvertor/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/viva/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/vsd/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/wmf/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/wpg/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/xar/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/xfig/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/xps/CMakeLists.txt
trunk/Scribus/scribus/plugins/import/zmf/CMakeLists.txt
trunk/Scribus/scribus/plugins/imposition/CMakeLists.txt
trunk/Scribus/scribus/plugins/myplugin/CMakeLists.txt
trunk/Scribus/scribus/plugins/newfromtemplateplugin/CMakeLists.txt
trunk/Scribus/scribus/plugins/picbrowser/CMakeLists.txt
trunk/Scribus/scribus/plugins/saveastemplateplugin/CMakeLists.txt
trunk/Scribus/scribus/plugins/scripter/CMakeLists.txt
trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt
trunk/Scribus/scribus/plugins/scriptplugin_py2x/CMakeLists.txt
trunk/Scribus/scribus/plugins/shapes/CMakeLists.txt
trunk/Scribus/scribus/plugins/short-words/CMakeLists.txt
trunk/Scribus/scribus/plugins/tools/2geomtools/meshdistortion/CMakeLists.txt
trunk/Scribus/scribus/plugins/tools/2geomtools/pathalongpath/CMakeLists.txt
trunk/Scribus/scribus/plugins/tools/flattenpath/CMakeLists.txt
trunk/Scribus/scribus/plugins/tools/hunspellcheck/CMakeLists.txt
trunk/Scribus/scribus/plugins/tools/lenseffects/CMakeLists.txt
trunk/Scribus/scribus/plugins/tools/pathconnect/CMakeLists.txt
trunk/Scribus/scribus/plugins/tools/pathcut/CMakeLists.txt
trunk/Scribus/scribus/plugins/tools/pathfinder/CMakeLists.txt
trunk/Scribus/scribus/plugins/tools/pathstroker/CMakeLists.txt
trunk/Scribus/scribus/plugins/tools/smoothpath/CMakeLists.txt
trunk/Scribus/scribus/plugins/tools/subdivide/CMakeLists.txt
trunk/Scribus/scribus/plugins/tools/transform/CMakeLists.txt
Modified: trunk/Scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/CMakeLists.txt (original)
+++ trunk/Scribus/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -10,8 +10,19 @@
# - Fontconfig
cmake_minimum_required(VERSION 3.12.0 FATAL_ERROR)
-
message(STATUS "CMake Version: ${CMAKE_VERSION}")
+if (WANT_PCH)
+ if(${CMAKE_VERSION} VERSION_LESS "3.16.0")
+ message(STATUS "Precompiled headers requested however CMake version < 3.16.0")
+ set(WANT_PCH OFF)
+ else()
+ message(STATUS "Precompiled headers enabled")
+ endif()
+else()
+ set(WANT_PCH OFF)
+ message(STATUS "Precompiled headers disabled")
+endif()
+
# Configure CCache if available and wanted
if (WANT_CCACHE)
@@ -308,7 +319,6 @@
#Convert our simpler command line option to the CMake style
#None, Debug, Release, .. or custom ones
-# set(WANT_DEBUG ON)
if(WANT_DEBUG)
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Set Debug Build Type" FORCE)
endif()
Modified: trunk/Scribus/scribus/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -30,6 +30,7 @@
${HARFBUZZ_INCLUDE_DIRS}
)
+include(api/CMakeLists.txt)
include(colormgmt/CMakeLists.txt)
include(desaxe/CMakeLists.txt)
include(fonts/CMakeLists.txt)
@@ -1226,6 +1227,7 @@
${SCRIBUS_MOC_SOURCES}
${SCRIBUS_MAIN_CPP}
${SCRIBUS_SOURCES}
+ ${SCRIBUS_API_SOURCES}
${SCRIBUS_COLORMGMT_SOURCES}
${SCRIBUS_DESAXE_SOURCES}
${SCRIBUS_FONTS_SOURCES}
@@ -1241,6 +1243,7 @@
${SCRIBUS_MOC_SOURCES}
${SCRIBUS_MAIN_CPP}
${SCRIBUS_SOURCES}
+ ${SCRIBUS_API_SOURCES}
${SCRIBUS_COLORMGMT_SOURCES}
${SCRIBUS_DESAXE_SOURCES}
${SCRIBUS_FONTS_SOURCES}
@@ -1251,6 +1254,10 @@
${GESTURE_FRAME_PREVIEW_SOURCES}
)
endif ()
+
+if(WANT_PCH)
+ target_precompile_headers(${EXE_NAME} PRIVATE scribus_pch.h)
+endif()
if(WIN32)
set_target_properties(${EXE_NAME}
Modified: trunk/Scribus/scribus/plugins/barcodegenerator/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/barcodegenerator/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/barcodegenerator/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/barcodegenerator/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -28,6 +28,10 @@
target_link_libraries(${SCRIBUS_BARCODEGENERATOR_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_BARCODEGENERATOR_PLUGIN} PRIVATE "../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_BARCODEGENERATOR_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/colorwheel/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/colorwheel/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/colorwheel/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/colorwheel/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -28,6 +28,10 @@
target_link_libraries(${SCRIBUS_COLORWHEEL_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_COLORWHEEL_PLUGIN} PRIVATE "../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_COLORWHEEL_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/export/pixmapexport/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/export/pixmapexport/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/export/pixmapexport/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/export/pixmapexport/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -26,6 +26,10 @@
target_link_libraries(${SCRIBUS_PIXMAPEXPORT_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_PIXMAPEXPORT_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_PIXMAPEXPORT_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/export/svgexplugin/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/export/svgexplugin/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/export/svgexplugin/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/export/svgexplugin/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -19,6 +19,10 @@
target_link_libraries(${SCRIBUS_EXPORTSVG_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_EXPORTSVG_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_EXPORTSVG_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/export/xpsexport/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/export/xpsexport/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/export/xpsexport/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/export/xpsexport/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -19,6 +19,10 @@
target_link_libraries(${SCRIBUS_EXPORTXPS_PLUGIN} ${PLUGIN_LIBRARIES} ${SCRIBUS_ZIP_LIB})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_EXPORTXPS_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_EXPORTXPS_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/fileloader/scribus12format/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/fileloader/scribus12format/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus12format/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus12format/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,11 @@
target_link_libraries(${SCRIBUS_SCR12FORMAT_FL_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_SCR12FORMAT_FL_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
+
install(TARGETS ${SCRIBUS_SCR12FORMAT_FL_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/fileloader/scribus134format/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/fileloader/scribus134format/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus134format/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus134format/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -19,6 +19,10 @@
add_library(${SCRIBUS_SCR134FORMAT_FL_PLUGIN} MODULE ${SCR134FORMAT_FL_PLUGIN_SOURCES} ${SCR134FORMAT_FL_PLUGIN_MOC_SOURCES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_SCR134FORMAT_FL_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
target_link_libraries(${SCRIBUS_SCR134FORMAT_FL_PLUGIN} ${PLUGIN_LIBRARIES})
install(TARGETS ${SCRIBUS_SCR134FORMAT_FL_PLUGIN}
Modified: trunk/Scribus/scribus/plugins/fileloader/scribus13format/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/fileloader/scribus13format/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus13format/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus13format/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,10 @@
target_link_libraries(${SCRIBUS_SCR13FORMAT_FL_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_SCR13FORMAT_FL_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_SCR13FORMAT_FL_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/fileloader/scribus150format/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/fileloader/scribus150format/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/fileloader/scribus150format/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/fileloader/scribus150format/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -22,6 +22,10 @@
target_link_libraries(${SCRIBUS_SCR150FORMAT_FL_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_SCR150FORMAT_FL_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_SCR150FORMAT_FL_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/fontpreview/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/fontpreview/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/fontpreview/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/fontpreview/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -26,6 +26,10 @@
target_link_libraries(${SCRIBUS_FONTPREVIEW_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_FONTPREVIEW_PLUGIN} PRIVATE "../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_FONTPREVIEW_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/gettext/csvim/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/gettext/csvim/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/csvim/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/gettext/csvim/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,10 @@
target_link_libraries(${SCRIBUS_CSV_GT_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_CSV_GT_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_CSV_GT_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}gettext
Modified: trunk/Scribus/scribus/plugins/gettext/docim/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/gettext/docim/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/docim/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/gettext/docim/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -19,6 +19,10 @@
target_link_libraries(${SCRIBUS_DOC_GT_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_DOC_GT_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_DOC_GT_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}gettext
Modified: trunk/Scribus/scribus/plugins/gettext/docxim/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/gettext/docxim/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/docxim/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/gettext/docxim/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -13,6 +13,10 @@
target_link_libraries(${SCRIBUS_DOCX_IM_PLUGIN} ${PLUGIN_LIBRARIES} ${SCRIBUS_DOCX_LIB})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_DOCX_IM_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_DOCX_IM_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}gettext
Modified: trunk/Scribus/scribus/plugins/gettext/htmlim/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/gettext/htmlim/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/htmlim/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/gettext/htmlim/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -20,6 +20,10 @@
target_link_libraries(${SCRIBUS_HTML_GT_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_HTML_GT_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_HTML_GT_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}gettext
Modified: trunk/Scribus/scribus/plugins/gettext/markdownim/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/gettext/markdownim/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/markdownim/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/gettext/markdownim/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -20,6 +20,10 @@
target_link_libraries(${SCRIBUS_MARKDOWN_IM_PLUGIN} ${PLUGIN_LIBRARIES} ${SCRIBUS_MARKDOWN_LIB})
+ if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_MARKDOWN_IM_PLUGIN} PRIVATE "../../plugins_pch.h")
+ endif()
+
install(TARGETS ${SCRIBUS_MARKDOWN_IM_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}gettext
Modified: trunk/Scribus/scribus/plugins/gettext/odt2im/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/gettext/odt2im/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/odt2im/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/gettext/odt2im/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -13,6 +13,10 @@
target_link_libraries(${SCRIBUS_ODT_IM_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_ODT_IM_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_ODT_IM_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}gettext
Modified: trunk/Scribus/scribus/plugins/gettext/odtim/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/gettext/odtim/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/odtim/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/gettext/odtim/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -22,6 +22,10 @@
target_link_libraries(${SCRIBUS_ODT_IM_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_ODT_IM_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_ODT_IM_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}gettext
Modified: trunk/Scribus/scribus/plugins/gettext/pdbim/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/gettext/pdbim/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/pdbim/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/gettext/pdbim/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -13,10 +13,14 @@
target_link_libraries(${SCRIBUS_PDB_GT_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_PDB_GT_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_PDB_GT_PLUGIN}
- LIBRARY
- DESTINATION ${PLUGINDIR}gettext
- PERMISSIONS ${PLUGIN_PERMISSIONS}
+ LIBRARY
+ DESTINATION ${PLUGINDIR}gettext
+ PERMISSIONS ${PLUGIN_PERMISSIONS}
)
# set_target_properties(${SCRIBUS_FONTPREVIEW_PLUGIN} PROPERTIES VERSION "0.0.0")
Modified: trunk/Scribus/scribus/plugins/gettext/rtfim/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/gettext/rtfim/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/rtfim/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/gettext/rtfim/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -13,6 +13,10 @@
target_link_libraries(${SCRIBUS_RTF_IM_PLUGIN} ${PLUGIN_LIBRARIES} ${SCRIBUS_RTF_LIB})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_RTF_IM_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_RTF_IM_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}gettext
Modified: trunk/Scribus/scribus/plugins/gettext/sxwim/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/gettext/sxwim/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/sxwim/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/gettext/sxwim/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -22,6 +22,10 @@
target_link_libraries(${SCRIBUS_SXW_IM_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_SXW_IM_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_SXW_IM_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}gettext
Modified: trunk/Scribus/scribus/plugins/gettext/textfilter/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/gettext/textfilter/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/textfilter/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/gettext/textfilter/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -22,6 +22,10 @@
target_link_libraries(${SCRIBUS_TEXTFILTER_GT_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_TEXTFILTER_GT_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_TEXTFILTER_GT_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}gettext
Modified: trunk/Scribus/scribus/plugins/gettext/txtim/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/gettext/txtim/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/txtim/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/gettext/txtim/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -15,6 +15,10 @@
target_link_libraries(${SCRIBUS_TXT_GT_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_TXT_GT_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_TXT_GT_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}gettext
Modified: trunk/Scribus/scribus/plugins/gettext/xtgim/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/gettext/xtgim/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/gettext/xtgim/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/gettext/xtgim/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -14,6 +14,10 @@
target_link_libraries(${SCRIBUS_XTG_IM_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_XTG_IM_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_XTG_IM_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}gettext
Modified: trunk/Scribus/scribus/plugins/import/ai/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/ai/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/ai/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/ai/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -43,6 +43,10 @@
)
endif()
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTAI_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTAI_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/cdr/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/cdr/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/cdr/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/cdr/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -10,6 +10,9 @@
QT5_WRAP_CPP(IMPORTCDR_PLUGIN_MOC_SOURCES ${IMPORTCDR_PLUGIN_MOC_CLASSES})
add_library(${SCRIBUS_IMPORTCDR_PLUGIN} MODULE ${IMPORTCDR_PLUGIN_SOURCES} ${IMPORTCDR_PLUGIN_MOC_SOURCES})
target_link_libraries(${SCRIBUS_IMPORTCDR_PLUGIN} ${PLUGIN_LIBRARIES} ${LIBREVENGE_LDFLAGS} ${LIBREVENGE_GENERATORS_LDFLAGS} ${LIBREVENGE_STREAM_LDFLAGS} ${LIBCDR_LDFLAGS})
+ if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTCDR_PLUGIN} PRIVATE "../../plugins_pch.h")
+ endif()
install(TARGETS ${SCRIBUS_IMPORTCDR_PLUGIN} LIBRARY DESTINATION ${PLUGINDIR} PERMISSIONS ${PLUGIN_PERMISSIONS})
add_dependencies(${SCRIBUS_IMPORTCDR_PLUGIN} ${EXE_NAME})
endif ()
@@ -29,6 +32,9 @@
QT5_WRAP_CPP(IMPORTCDR_PLUGIN_MOC_SOURCES ${IMPORTCDR_PLUGIN_MOC_CLASSES})
add_library(${SCRIBUS_IMPORTCDR_PLUGIN} MODULE ${IMPORTCDR_PLUGIN_SOURCES} ${IMPORTCDR_PLUGIN_MOC_SOURCES})
target_link_libraries(${SCRIBUS_IMPORTCDR_PLUGIN} ${PLUGIN_LIBRARIES} ${LIBWPG_LDFLAGS} ${LIBWPD_LDFLAGS} ${LIBWPD_STREAM_LDFLAGS} ${LIBCDR_LDFLAGS})
+ if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTCDR_PLUGIN} PRIVATE "../../plugins_pch.h")
+ endif()
install(TARGETS ${SCRIBUS_IMPORTCDR_PLUGIN} LIBRARY DESTINATION ${PLUGINDIR} PERMISSIONS ${PLUGIN_PERMISSIONS})
add_dependencies(${SCRIBUS_IMPORTCDR_PLUGIN} ${EXE_NAME})
endif ()
Modified: trunk/Scribus/scribus/plugins/import/cgm/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/cgm/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/cgm/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/cgm/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,10 @@
target_link_libraries(${SCRIBUS_IMPORTCGM_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTCGM_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTCGM_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/cvg/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/cvg/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/cvg/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/cvg/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,10 @@
target_link_libraries(${SCRIBUS_IMPORTCVG_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTCVG_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTCVG_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/drw/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/drw/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/drw/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/drw/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,10 @@
target_link_libraries(${SCRIBUS_IMPORTDRW_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTDRW_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTDRW_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/emf/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/emf/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/emf/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/emf/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,10 @@
target_link_libraries(${SCRIBUS_IMPORTEMF_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTEMF_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTEMF_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/fh/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/fh/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/fh/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/fh/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -10,6 +10,9 @@
QT5_WRAP_CPP(IMPORTFH_PLUGIN_MOC_SOURCES ${IMPORTFH_PLUGIN_MOC_CLASSES})
add_library(${SCRIBUS_IMPORTFH_PLUGIN} MODULE ${IMPORTFH_PLUGIN_SOURCES} ${IMPORTFH_PLUGIN_MOC_SOURCES})
target_link_libraries(${SCRIBUS_IMPORTFH_PLUGIN} ${PLUGIN_LIBRARIES} ${LIBREVENGE_LDFLAGS} ${LIBREVENGE_GENERATORS_LDFLAGS} ${LIBREVENGE_STREAM_LDFLAGS} ${LIBFREEHAND_LDFLAGS})
+ if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTFH_PLUGIN} PRIVATE "../../plugins_pch.h")
+ endif()
install(TARGETS ${SCRIBUS_IMPORTFH_PLUGIN} LIBRARY DESTINATION ${PLUGINDIR} PERMISSIONS ${PLUGIN_PERMISSIONS})
add_dependencies(${SCRIBUS_IMPORTFH_PLUGIN} ${EXE_NAME})
endif ()
Modified: trunk/Scribus/scribus/plugins/import/idml/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/idml/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/idml/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/idml/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,10 @@
target_link_libraries(${SCRIBUS_IMPORTIDML_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTIDML_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTIDML_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/idml_old/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/idml_old/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/idml_old/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/idml_old/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -23,6 +23,10 @@
target_link_libraries(${SCRIBUS_IMPORTIDML_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTIDML_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTIDML_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/odg/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/odg/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/odg/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/odg/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -23,6 +23,10 @@
link_directories( /usr/local/lib )
target_link_libraries(${SCRIBUS_IMPORTODG_PLUGIN} ${PLUGIN_LIBRARIES} ${SCRIBUS_ZIP_LIB})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTODG_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTODG_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/oodraw/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/oodraw/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/oodraw/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/oodraw/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -20,6 +20,10 @@
target_link_libraries(${SCRIBUS_OODRAW_FL_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_OODRAW_FL_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_OODRAW_FL_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/pages/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/pages/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pages/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/pages/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -40,6 +40,10 @@
link_directories( /usr/local/lib )
target_link_libraries(${SCRIBUS_IMPORTPAGES_PLUGIN} ${PLUGIN_LIBRARIES} ${SCRIBUS_ZIP_LIB})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTPAGES_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTPAGES_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/pct/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/pct/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pct/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/pct/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,10 @@
target_link_libraries(${SCRIBUS_IMPORTPCT_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTPCT_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTPCT_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/pdf/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/pdf/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pdf/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/pdf/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -39,6 +39,10 @@
link_directories( /usr/local/lib )
target_link_libraries(${SCRIBUS_IMPORTPDF_PLUGIN} ${PLUGIN_LIBRARIES} ${POPPLER_LIBRARY})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTPDF_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTPDF_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/pm/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/pm/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pm/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/pm/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -10,6 +10,9 @@
QT5_WRAP_CPP(IMPORTPM_PLUGIN_MOC_SOURCES ${IMPORTPM_PLUGIN_MOC_CLASSES})
add_library(${SCRIBUS_IMPORTPM_PLUGIN} MODULE ${IMPORTPM_PLUGIN_SOURCES} ${IMPORTPM_PLUGIN_MOC_SOURCES})
target_link_libraries(${SCRIBUS_IMPORTPM_PLUGIN} ${PLUGIN_LIBRARIES} ${LIBREVENGE_LDFLAGS} ${LIBREVENGE_GENERATORS_LDFLAGS} ${LIBREVENGE_STREAM_LDFLAGS} ${LIBPAGEMAKER_LDFLAGS})
+ if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTPM_PLUGIN} PRIVATE "../../plugins_pch.h")
+ endif()
install(TARGETS ${SCRIBUS_IMPORTPM_PLUGIN} LIBRARY DESTINATION ${PLUGINDIR} PERMISSIONS ${PLUGIN_PERMISSIONS})
add_dependencies(${SCRIBUS_IMPORTPM_PLUGIN} ${EXE_NAME})
endif ()
Modified: trunk/Scribus/scribus/plugins/import/ps/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/ps/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/ps/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/ps/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -28,6 +28,10 @@
target_link_libraries(${SCRIBUS_IMPORTPS_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTPS_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
if(HAVE_PODOFO)
target_link_libraries(${SCRIBUS_IMPORTPS_PLUGIN}
${LIBPODOFO_LIBRARY}
Modified: trunk/Scribus/scribus/plugins/import/pub/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/pub/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/pub/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/pub/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -10,6 +10,9 @@
QT5_WRAP_CPP(IMPORTPUB_PLUGIN_MOC_SOURCES ${IMPORTPUB_PLUGIN_MOC_CLASSES})
add_library(${SCRIBUS_IMPORTPUB_PLUGIN} MODULE ${IMPORTPUB_PLUGIN_SOURCES} ${IMPORTPUB_PLUGIN_MOC_SOURCES})
target_link_libraries(${SCRIBUS_IMPORTPUB_PLUGIN} ${PLUGIN_LIBRARIES} ${LIBREVENGE_LDFLAGS} ${LIBREVENGE_GENERATORS_LDFLAGS} ${LIBREVENGE_STREAM_LDFLAGS} ${LIBMSPUB_LDFLAGS})
+ if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTPUB_PLUGIN} PRIVATE "../../plugins_pch.h")
+ endif()
install(TARGETS ${SCRIBUS_IMPORTPUB_PLUGIN} LIBRARY DESTINATION ${PLUGINDIR} PERMISSIONS ${PLUGIN_PERMISSIONS})
add_dependencies(${SCRIBUS_IMPORTPUB_PLUGIN} ${EXE_NAME})
endif ()
@@ -30,6 +33,9 @@
QT5_WRAP_CPP(IMPORTPUB_PLUGIN_MOC_SOURCES ${IMPORTPUB_PLUGIN_MOC_CLASSES})
add_library(${SCRIBUS_IMPORTPUB_PLUGIN} MODULE ${IMPORTPUB_PLUGIN_SOURCES} ${IMPORTPUB_PLUGIN_MOC_SOURCES})
target_link_libraries(${SCRIBUS_IMPORTPUB_PLUGIN} ${PLUGIN_LIBRARIES} ${LIBWPG_LDFLAGS} ${LIBWPD_LDFLAGS} ${LIBWPD_STREAM_LDFLAGS} ${LIBMSPUB_LDFLAGS})
+ if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTPUB_PLUGIN} PRIVATE "../../plugins_pch.h")
+ endif()
install(TARGETS ${SCRIBUS_IMPORTPUB_PLUGIN} LIBRARY DESTINATION ${PLUGINDIR} PERMISSIONS ${PLUGIN_PERMISSIONS})
add_dependencies(${SCRIBUS_IMPORTPUB_PLUGIN} ${EXE_NAME})
endif ()
Modified: trunk/Scribus/scribus/plugins/import/qxp/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/qxp/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/qxp/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/qxp/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -10,6 +10,9 @@
QT5_WRAP_CPP(IMPORTQXP_PLUGIN_MOC_SOURCES ${IMPORTQXP_PLUGIN_MOC_CLASSES})
add_library(${SCRIBUS_IMPORTQXP_PLUGIN} MODULE ${IMPORTQXP_PLUGIN_SOURCES} ${IMPORTQXP_PLUGIN_MOC_SOURCES})
target_link_libraries(${SCRIBUS_IMPORTQXP_PLUGIN} ${PLUGIN_LIBRARIES} ${LIBREVENGE_LDFLAGS} ${LIBREVENGE_GENERATORS_LDFLAGS} ${LIBREVENGE_STREAM_LDFLAGS} ${LIBQXP_LDFLAGS})
+ if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTQXP_PLUGIN} PRIVATE "../../plugins_pch.h")
+ endif()
install(TARGETS ${SCRIBUS_IMPORTQXP_PLUGIN} LIBRARY DESTINATION ${PLUGINDIR} PERMISSIONS ${PLUGIN_PERMISSIONS})
add_dependencies(${SCRIBUS_IMPORTQXP_PLUGIN} ${EXE_NAME})
endif ()
Modified: trunk/Scribus/scribus/plugins/import/shape/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/shape/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/shape/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/shape/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,10 @@
target_link_libraries(${SCRIBUS_IMPORTSHAPE_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTSHAPE_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTSHAPE_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/sml/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/sml/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/sml/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/sml/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,10 @@
target_link_libraries(${SCRIBUS_IMPORTSML_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTSML_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTSML_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/svg/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/svg/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/svg/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/svg/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -19,6 +19,10 @@
target_link_libraries(${SCRIBUS_IMPORTSVG_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTSVG_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTSVG_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/svm/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/svm/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/svm/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/svm/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,10 @@
target_link_libraries(${SCRIBUS_IMPORTSVM_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTSVM_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTSVM_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/uniconvertor/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/uniconvertor/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/uniconvertor/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/uniconvertor/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -19,6 +19,10 @@
target_link_libraries(${SCRIBUS_IMPORTUNICONVERTOR_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTUNICONVERTOR_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTUNICONVERTOR_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/viva/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/viva/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/viva/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/viva/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,10 @@
target_link_libraries(${SCRIBUS_IMPORTVIVA_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTVIVA_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTVIVA_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/vsd/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/vsd/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/vsd/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/vsd/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -10,6 +10,9 @@
QT5_WRAP_CPP(IMPORTVSD_PLUGIN_MOC_SOURCES ${IMPORTVSD_PLUGIN_MOC_CLASSES})
add_library(${SCRIBUS_IMPORTVSD_PLUGIN} MODULE ${IMPORTVSD_PLUGIN_SOURCES} ${IMPORTVSD_PLUGIN_MOC_SOURCES})
target_link_libraries(${SCRIBUS_IMPORTVSD_PLUGIN} ${PLUGIN_LIBRARIES} ${LIBREVENGE_LDFLAGS} ${LIBREVENGE_GENERATORS_LDFLAGS} ${LIBREVENGE_STREAM_LDFLAGS} ${LIBVISIO_LDFLAGS})
+ if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTVSD_PLUGIN} PRIVATE "../../plugins_pch.h")
+ endif()
install(TARGETS ${SCRIBUS_IMPORTVSD_PLUGIN} LIBRARY DESTINATION ${PLUGINDIR} PERMISSIONS ${PLUGIN_PERMISSIONS})
add_dependencies(${SCRIBUS_IMPORTVSD_PLUGIN} ${EXE_NAME})
endif ()
@@ -29,6 +32,9 @@
QT5_WRAP_CPP(IMPORTVSD_PLUGIN_MOC_SOURCES ${IMPORTVSD_PLUGIN_MOC_CLASSES})
add_library(${SCRIBUS_IMPORTVSD_PLUGIN} MODULE ${IMPORTVSD_PLUGIN_SOURCES} ${IMPORTVSD_PLUGIN_MOC_SOURCES})
target_link_libraries(${SCRIBUS_IMPORTVSD_PLUGIN} ${PLUGIN_LIBRARIES} ${LIBWPG_LDFLAGS} ${LIBWPD_LDFLAGS} ${LIBWPD_STREAM_LDFLAGS} ${LIBVISIO_LDFLAGS})
+ if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTVSD_PLUGIN} PRIVATE "../../plugins_pch.h")
+ endif()
install(TARGETS ${SCRIBUS_IMPORTVSD_PLUGIN} LIBRARY DESTINATION ${PLUGINDIR} PERMISSIONS ${PLUGIN_PERMISSIONS})
add_dependencies(${SCRIBUS_IMPORTVSD_PLUGIN} ${EXE_NAME})
endif ()
Modified: trunk/Scribus/scribus/plugins/import/wmf/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/wmf/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/wmf/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/wmf/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -22,6 +22,10 @@
target_link_libraries(${SCRIBUS_IMPORTWMF_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTWMF_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTWMF_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/wpg/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/wpg/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/wpg/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/wpg/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -17,6 +17,10 @@
add_library(${SCRIBUS_IMPORTWPG_PLUGIN} MODULE ${IMPORTWPG_PLUGIN_SOURCES} ${IMPORTWPG_PLUGIN_MOC_SOURCES})
target_link_libraries(${SCRIBUS_IMPORTWPG_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTWPG_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTWPG_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/xar/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/xar/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/xar/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/xar/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -23,6 +23,10 @@
target_link_libraries(${SCRIBUS_IMPORTXAR_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTXAR_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTXAR_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/xfig/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/xfig/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/xfig/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/xfig/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,10 @@
target_link_libraries(${SCRIBUS_IMPORTXFIG_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTXFIG_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTXFIG_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/xps/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/xps/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/xps/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/xps/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -31,6 +31,10 @@
link_directories( /usr/local/lib )
target_link_libraries(${SCRIBUS_IMPORTXPS_PLUGIN} ${PLUGIN_LIBRARIES} ${SCRIBUS_ZIP_LIB})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTXPS_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPORTXPS_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/import/zmf/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/import/zmf/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/import/zmf/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/import/zmf/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -10,6 +10,9 @@
QT5_WRAP_CPP(IMPORTZMF_PLUGIN_MOC_SOURCES ${IMPORTZMF_PLUGIN_MOC_CLASSES})
add_library(${SCRIBUS_IMPORTZMF_PLUGIN} MODULE ${IMPORTZMF_PLUGIN_SOURCES} ${IMPORTZMF_PLUGIN_MOC_SOURCES})
target_link_libraries(${SCRIBUS_IMPORTZMF_PLUGIN} ${PLUGIN_LIBRARIES} ${LIBREVENGE_LDFLAGS} ${LIBREVENGE_GENERATORS_LDFLAGS} ${LIBREVENGE_STREAM_LDFLAGS} ${LIBZMF_LDFLAGS})
+ if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPORTZMF_PLUGIN} PRIVATE "../../plugins_pch.h")
+ endif()
install(TARGETS ${SCRIBUS_IMPORTZMF_PLUGIN} LIBRARY DESTINATION ${PLUGINDIR} PERMISSIONS ${PLUGIN_PERMISSIONS})
add_dependencies(${SCRIBUS_IMPORTZMF_PLUGIN} ${EXE_NAME})
endif ()
Modified: trunk/Scribus/scribus/plugins/imposition/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/imposition/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/imposition/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/imposition/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -26,6 +26,10 @@
target_link_libraries(${SCRIBUS_IMPOSITION_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_IMPOSITION_PLUGIN} PRIVATE "../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_IMPOSITION_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/myplugin/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/myplugin/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/myplugin/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/myplugin/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -21,6 +21,10 @@
target_link_libraries(${SCRIBUS_MY_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_MY_PLUGIN} PRIVATE "../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_MY_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/newfromtemplateplugin/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/newfromtemplateplugin/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/newfromtemplateplugin/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/newfromtemplateplugin/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -32,6 +32,10 @@
target_link_libraries(${SCRIBUS_NEWFROMTEMPLATE_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_NEWFROMTEMPLATE_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_NEWFROMTEMPLATE_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/picbrowser/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/picbrowser/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/picbrowser/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/picbrowser/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -44,6 +44,10 @@
target_link_libraries(${SCRIBUS_PICTUREBROWSER_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_PICTUREBROWSER_PLUGIN} PRIVATE "../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_PICTUREBROWSER_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/saveastemplateplugin/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/saveastemplateplugin/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/saveastemplateplugin/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/saveastemplateplugin/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -27,6 +27,10 @@
target_link_libraries(${SCRIBUS_SAVEASTEMPLATE_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_SAVEASTEMPLATE_PLUGIN} PRIVATE "../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_SAVEASTEMPLATE_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/scripter/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/scripter/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/scripter/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/scripter/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -64,6 +64,10 @@
target_link_libraries(${SCRIBUS_SCRIPTER_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_SCRIPTER_PLUGIN} PRIVATE "../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_SCRIPTER_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/scriptplugin/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -70,6 +70,10 @@
target_link_libraries(${SCRIBUS_SCRIPTER_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_SCRIPTER_PLUGIN} PRIVATE "../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_SCRIPTER_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/scriptplugin_py2x/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/scriptplugin_py2x/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/scriptplugin_py2x/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/scriptplugin_py2x/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -66,9 +66,14 @@
target_link_libraries(${SCRIBUS_SCRIPTER_PLUGIN}
${Python2_LIBRARIES}
-)
+ ${SCRIBUS_API_LIB}
+ )
target_link_libraries(${SCRIBUS_SCRIPTER_PLUGIN} ${PLUGIN_LIBRARIES})
+
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_SCRIPTER_PLUGIN} PRIVATE "../plugins_pch.h")
+endif()
install(TARGETS ${SCRIBUS_SCRIPTER_PLUGIN}
LIBRARY
@@ -76,6 +81,7 @@
PERMISSIONS ${PLUGIN_PERMISSIONS}
)
+#add_dependencies(${SCRIBUS_SCRIPTER_PLUGIN} ${EXE_NAME})
add_dependencies(${SCRIBUS_SCRIPTER_PLUGIN} ${EXE_NAME})
# set_target_properties(${SCRIBUS_SCRIPTER_PLUGIN} PROPERTIES VERSION "0.0.0")
Modified: trunk/Scribus/scribus/plugins/shapes/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/shapes/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/shapes/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/shapes/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -24,6 +24,10 @@
target_link_libraries(${SCRIBUS_SHAPE_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_SHAPE_PLUGIN} PRIVATE "../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_SHAPE_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/short-words/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/short-words/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/short-words/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/short-words/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -39,6 +39,10 @@
target_link_libraries(${SCRIBUS_SHORTWORDS_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_SHORTWORDS_PLUGIN} PRIVATE "../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_SHORTWORDS_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/tools/2geomtools/meshdistortion/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/tools/2geomtools/meshdistortion/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/2geomtools/meshdistortion/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/tools/2geomtools/meshdistortion/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -25,6 +25,11 @@
add_library(${SCRIBUS_MESHDISTORTION_PLUGIN} MODULE ${MESHDISTORTION_PLUGIN_SOURCES} ${MESHDISTORTION_PLUGIN_MOC_SOURCES} ${MESHDISTORTION_PLUGIN_UI_CPP} ${MESHDISTORTION_PLUGIN_UI_SOURCES})
target_link_libraries(${SCRIBUS_MESHDISTORTION_PLUGIN} ${PLUGIN_LIBRARIES} ${SCRIBUS_2GEOM_LIB})
+
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_MESHDISTORTION_PLUGIN} PRIVATE "../../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_MESHDISTORTION_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/tools/2geomtools/pathalongpath/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/tools/2geomtools/pathalongpath/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/2geomtools/pathalongpath/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/tools/2geomtools/pathalongpath/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -26,6 +26,10 @@
target_link_libraries(${SCRIBUS_PATHALONGPATH_PLUGIN} ${PLUGIN_LIBRARIES} ${SCRIBUS_2GEOM_LIB})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_PATHALONGPATH_PLUGIN} PRIVATE "../../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_PATHALONGPATH_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/tools/flattenpath/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/tools/flattenpath/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/flattenpath/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/tools/flattenpath/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -19,6 +19,10 @@
target_link_libraries(${SCRIBUS_FLATTENPATH_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_FLATTENPATH_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_FLATTENPATH_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/tools/hunspellcheck/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/tools/hunspellcheck/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/hunspellcheck/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/tools/hunspellcheck/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -35,6 +35,10 @@
target_link_libraries(${SCRIBUS_HUNSPELL_PLUGIN} ${HUNSPELL_LIBRARIES} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_HUNSPELL_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_HUNSPELL_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/tools/lenseffects/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/tools/lenseffects/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/lenseffects/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/tools/lenseffects/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -26,6 +26,10 @@
target_link_libraries(${SCRIBUS_LENSEFFECTS_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_LENSEFFECTS_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_LENSEFFECTS_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/tools/pathconnect/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/tools/pathconnect/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/pathconnect/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/tools/pathconnect/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -26,6 +26,10 @@
target_link_libraries(${SCRIBUS_PATHCONNECT_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_PATHCONNECT_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_PATHCONNECT_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/tools/pathcut/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/tools/pathcut/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/pathcut/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/tools/pathcut/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -24,6 +24,10 @@
target_link_libraries(${SCRIBUS_PATHCUT_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_PATHCUT_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_PATHCUT_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/tools/pathfinder/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/tools/pathfinder/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/pathfinder/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/tools/pathfinder/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -35,6 +35,10 @@
target_link_libraries(${SCRIBUS_PATHFINDER_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_PATHFINDER_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_PATHFINDER_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/tools/pathstroker/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/tools/pathstroker/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/pathstroker/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/tools/pathstroker/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -19,6 +19,10 @@
target_link_libraries(${SCRIBUS_PATHSTROKER_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_PATHSTROKER_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_PATHSTROKER_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/tools/smoothpath/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/tools/smoothpath/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/smoothpath/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/tools/smoothpath/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -19,6 +19,10 @@
target_link_libraries(${SCRIBUS_SMOOTHPATH_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_SMOOTHPATH_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_SMOOTHPATH_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/tools/subdivide/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/tools/subdivide/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/subdivide/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/tools/subdivide/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -19,6 +19,10 @@
target_link_libraries(${SCRIBUS_SUBDIVIDE_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_SUBDIVIDE_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_SUBDIVIDE_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
Modified: trunk/Scribus/scribus/plugins/tools/transform/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24275&path=/trunk/Scribus/scribus/plugins/tools/transform/CMakeLists.txt
==============================================================================
--- trunk/Scribus/scribus/plugins/tools/transform/CMakeLists.txt (original)
+++ trunk/Scribus/scribus/plugins/tools/transform/CMakeLists.txt Sun Nov 22 19:24:36 2020
@@ -26,6 +26,10 @@
target_link_libraries(${SCRIBUS_TRANSFORMEFFECT_PLUGIN} ${PLUGIN_LIBRARIES})
+if(WANT_PCH)
+ target_precompile_headers(${SCRIBUS_TRANSFORMEFFECT_PLUGIN} PRIVATE "../../plugins_pch.h")
+endif()
+
install(TARGETS ${SCRIBUS_TRANSFORMEFFECT_PLUGIN}
LIBRARY
DESTINATION ${PLUGINDIR}
More information about the scribus-commit
mailing list