View Issue Details

IDProjectCategoryView StatusLast Update
0001361FreeCADBugpublic2014-12-01 15:21
Reporterefferre79 Assigned Towmayer  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.13 
Summary0001361: StartPage scripts and resources are installed twice
DescriptionUnder src/Mod/Start there are two cmakefiles, Gui/CMakeLists.txt StartPage/CMakeLists.txt, that install the same sets of files below Mod/Start/StartPage/

In addition Gui/CMakeLists.txt with StartPage_Scripts installs InitGui.py which is already installed by src/Mod/Start/CMakeLists.txt
TagsNo tags attached.
FreeCAD Information

Activities

wmayer

2014-01-20 09:51

administrator   ~0004108

Indeed the current solution is not very elegant because two files need to be maintained in order to copy files to their desired destinations.

However, it's not true that files get installed twice.
Files used with INSTALL get copied to the install directory specified in cmake while fc_target_copy_resource copies them to the desired destination of the build directory.

efferre79

2014-01-21 07:55

reporter  

startpage.patch (Attachment missing)

efferre79

2014-01-21 07:56

reporter   ~0004112

I have created a simple patch to improve the cmakefiles, I hope it helps

Related Changesets

FreeCAD: master 640c9cbf

2014-12-01 15:57:23

wmayer

Details Diff
+ fixes 0001361: StartPage scripts and resources are installed twice Affected Issues
0001361
mod - src/Mod/Start/CMakeLists.txt Diff File
mod - src/Mod/Start/Gui/CMakeLists.txt Diff File
mod - src/Mod/Start/StartPage/CMakeLists.txt Diff File

Issue History

Date Modified Username Field Change
2014-01-19 17:05 efferre79 New Issue
2014-01-20 09:51 wmayer Note Added: 0004108
2014-01-21 07:55 efferre79 File Added: startpage.patch
2014-01-21 07:56 efferre79 Note Added: 0004112
2014-12-01 15:21 wmayer Changeset attached => FreeCAD Master master 640c9cbf
2014-12-01 15:21 wmayer Assigned To => wmayer
2014-12-01 15:21 wmayer Status new => closed
2014-12-01 15:21 wmayer Resolution open => fixed