r22181 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Tue Oct 3 20:58:32 UTC 2017


Author: jghali
Date: Tue Oct  3 20:58:32 2017
New Revision: 22181

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22181
Log:
add custom targets to msvc projects so that resources, docs, etc..., get copied in output directory after build

Added:
    trunk/Scribus/doc/de/images/install.targets
    trunk/Scribus/doc/de/install.targets
    trunk/Scribus/doc/en/images/install.targets
    trunk/Scribus/doc/en/install.targets
    trunk/Scribus/doc/en/tutorials/short-words/install.targets
    trunk/Scribus/doc/install.targets
    trunk/Scribus/doc/it/images/install.targets
    trunk/Scribus/doc/it/install.targets
    trunk/Scribus/resources/dicts/install.targets
    trunk/Scribus/resources/editorconfig/install.targets
    trunk/Scribus/resources/iconsets/install.targets
    trunk/Scribus/resources/install.targets
    trunk/Scribus/resources/keysets/install.targets
    trunk/Scribus/resources/loremipsum/install.targets
    trunk/Scribus/resources/profiles/install.targets
    trunk/Scribus/resources/swatches/install.targets
    trunk/Scribus/resources/templates/install.targets
    trunk/Scribus/scribus.install.targets
    trunk/Scribus/scribus/plugins/barcodegenerator/install.targets
    trunk/Scribus/scribus/plugins/install.targets
    trunk/Scribus/scribus/plugins/picbrowser/install.targets
    trunk/Scribus/scribus/plugins/scriptplugin/install.targets
    trunk/Scribus/scribus/plugins/short-words/install.targets
    trunk/Scribus/scribus/plugins/tools/install.targets
    trunk/Scribus/scribus/plugins/tools/pathcut/install.targets
    trunk/Scribus/scribus/plugins/tools/pathfinder/install.targets
Modified:
    trunk/Scribus/resources/swatches/CMakeLists.txt
    trunk/Scribus/win32/msvc2012/scribus-main/Scribus.vcxproj
    trunk/Scribus/win32/msvc2015/scribus-main/Scribus.vcxproj

Modified: trunk/Scribus/resources/swatches/CMakeLists.txt
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22181&path=/trunk/Scribus/resources/swatches/CMakeLists.txt
==============================================================================
--- trunk/Scribus/resources/swatches/CMakeLists.txt	(original)
+++ trunk/Scribus/resources/swatches/CMakeLists.txt	Tue Oct  3 20:58:32 2017
@@ -2,11 +2,11 @@
 "${CMAKE_SOURCE_DIR}/scribus"
 )
 
+file( GLOB EPS_PALETTES *.eps )
 file( GLOB GIMP_STYLE_PALETTES *.gpl )
-file( GLOB XML_PALETTES *.xml )
-file( GLOB EPS_PALETTES *.eps )
 file( GLOB RTF_LICENSES *.rtf )
 file( GLOB SBZ_PALETTES *.sbz )
+file( GLOB XML_PALETTES *.xml )
 
 #Avoid CMakeLists.txt
 set(TXT_LICENSES "${CMAKE_CURRENT_SOURCE_DIR}/COPYING_RESENE.txt" "${CMAKE_CURRENT_SOURCE_DIR}/Japanese_Traditional_README.txt")

Modified: trunk/Scribus/win32/msvc2012/scribus-main/Scribus.vcxproj
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22181&path=/trunk/Scribus/win32/msvc2012/scribus-main/Scribus.vcxproj
==============================================================================
--- trunk/Scribus/win32/msvc2012/scribus-main/Scribus.vcxproj	(original)
+++ trunk/Scribus/win32/msvc2012/scribus-main/Scribus.vcxproj	Tue Oct  3 20:58:32 2017
@@ -1754,4 +1754,11 @@
   <ImportGroup Label="ExtensionTargets">
     <Import Project="..\Scribus-build-rules.targets" />
   </ImportGroup>
+  <Import Project="..\..\..\scribus.install.targets" />
+  <Target Name="AfterBuildMessage" AfterTargets="Build" BeforeTargets="AfterBuild" >
+     <Message Importance="High" Text="Now copying assets to output directory..." />
+  </Target>
+  <Target Name="AfterBuild" AfterTargets="Build" DependsOnTargets="$(AfterBuildDependsOn)" >
+     <Message Importance="High" Text="Assets have been copied to output directory..." />
+  </Target>
 </Project>

Modified: trunk/Scribus/win32/msvc2015/scribus-main/Scribus.vcxproj
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22181&path=/trunk/Scribus/win32/msvc2015/scribus-main/Scribus.vcxproj
==============================================================================
--- trunk/Scribus/win32/msvc2015/scribus-main/Scribus.vcxproj	(original)
+++ trunk/Scribus/win32/msvc2015/scribus-main/Scribus.vcxproj	Tue Oct  3 20:58:32 2017
@@ -1754,4 +1754,11 @@
   <ImportGroup Label="ExtensionTargets">
     <Import Project="..\Scribus-build-rules.targets" />
   </ImportGroup>
+  <Import Project="..\..\..\scribus.install.targets" />
+  <Target Name="AfterBuildMessage" AfterTargets="Build" BeforeTargets="AfterBuild" >
+     <Message Importance="High" Text="Now copying assets to output directory..." />
+  </Target>
+  <Target Name="AfterBuild" AfterTargets="Build" DependsOnTargets="$(AfterBuildDependsOn)" >
+     <Message Importance="High" Text="Assets have been copied to output directory..." />
+  </Target>
 </Project>




More information about the scribus-commit mailing list