View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001361 | FreeCAD | Bug | public | 2014-01-19 17:05 | 2014-12-01 15:21 |
Reporter | efferre79 | Assigned To | wmayer | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.13 | ||||
Summary | 0001361: StartPage scripts and resources are installed twice | ||||
Description | Under 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 | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
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. |
|
|
|
I have created a simple patch to improve the cmakefiles, I hope it helps |
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 |