View Issue Details

IDProjectCategoryView StatusLast Update
0001399FreeCADMerge requestpublic2014-03-15 13:29
Reporterpeterl94 Assigned Towmayer  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionfixed 
Summary0001399: Only build Salome Mesh when necessary
DescriptionNow that you can select which workbenches to build, it would be nice if salomesmesh was only built when it is needed. To accomplish this, I moved the module dependency checks to the toplevel CMake file and added FREECAD_BUILD_SMESH variable.

Commit: https://github.com/peterl94/FreeCAD_sf_master/commit/6378de37740e2d4e6447d2c220952fa149b0f14d
TagsNo tags attached.
FreeCAD Information

Activities

mrlukeparry

2014-02-16 14:42

developer   ~0004226

if this were made an option - it would mean that fortran would be an optional dependency.

I was experimenting with support for the Ninja Build system http://martine.github.io/ninja/ Currently it doesn't support Fortan for some reason which is a dependency for SMESH.

In the end I got it working but had to make a conditional statement in the root directory CMakeLists.txt

If this is considered please let me know because the Ninja build system seemed to improve compilation speed.

peterl94

2014-03-05 23:02

developer   ~0004388

Any more thoughts on this?

Related Changesets

FreeCAD: master 01123ba3

2014-03-15 14:02:35

wmayer

Details Diff
+ fixes 0001399: Only build Salome Mesh when necessary Affected Issues
0001399
mod - CMakeLists.txt Diff File
mod - src/3rdParty/CMakeLists.txt Diff File
mod - src/Mod/CMakeLists.txt Diff File

Issue History

Date Modified Username Field Change
2014-02-10 20:40 peterl94 New Issue
2014-02-16 14:42 mrlukeparry Note Added: 0004226
2014-03-05 23:02 peterl94 Note Added: 0004388
2014-03-15 13:29 wmayer Changeset attached => FreeCAD Master master 01123ba3
2014-03-15 13:29 wmayer Assigned To => wmayer
2014-03-15 13:29 wmayer Status new => closed
2014-03-15 13:29 wmayer Resolution open => fixed