ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/CMakeLists.txt
(Generate patch)

Comparing magic/CMakeLists.txt (file contents):
Revision 255 by francois, Wed Jul 14 20:20:19 2010 UTC vs.
Revision 314 by francois, Sat Feb 18 04:49:46 2012 UTC

# Line 11 | Line 11 | endif(DEFINED CMAKE_BUILD_TYPE)
11  
12   project(MAGIC)
13  
14 < option(ENABLE_OCC "Enable Occ" ON)
15 < option(ENABLE_SAT "Enable Sat" ON)
16 < option(ENABLE_STEP "Enable Step" ON)
17 < option(ENABLE_IBREP "Enable IBREP" OFF)
18 < option(ENABLE_GNURBS "Enable gnurbs" OFF)
14 > option(ENABLE_OCC "Magic Enable Occ" ON)
15 > option(ENABLE_SAT "Magic Enable Sat" ON)
16 > option(ENABLE_STEP "Magic Enable Step" ON)
17 > option(ENABLE_IBREP "Magic Enable IBREP" OFF)
18 > option(ENABLE_TEST "Magic Enable test" OFF)
19 > option(OPTION_SHARED "Magic Compilation avec Shared" ON)
20  
21   if(ENABLE_OCC)
22    if(WIN32)
# Line 73 | Line 74 | if(ENABLE_SAT)
74   add_definitions(-DBREP_SAT)
75   endif(ENABLE_SAT)
76  
77 + if(ENABLE_OCC)
78 + add_definitions(-DBREP_OCC)
79 + endif(ENABLE_OCC)
80   if(ENABLE_STEP)
81   add_definitions(-DBREP_STEP)
82   endif(ENABLE_STEP)
83  
84 + set(INTERNAL_LIBRARIES fichier carte geometrie outil parseur mecanique optimisation mailleur vectorisation diamesh)
85 + if (ENABLE_SAT)
86 + list (APPEND INTERNAL_LIBRARIES sat)
87 + endif (ENABLE_SAT)
88 + if (ENABLE_STEP)
89 + list (APPEND INTERNAL_LIBRARIES step)
90 + endif (ENABLE_STEP)
91 + if (ENABLE_OCC)
92 + list (APPEND INTERNAL_LIBRARIES reconstruction)
93 + endif (ENABLE_OCC)
94  
81 add_subdirectory(lib)
82 add_subdirectory(app)
95  
96   if(ENABLE_IBREP)
97   add_subdirectory(IBrep)
98 + if (OPTION_SHARED)
99 + list (APPEND INTERNAL_LIBRARIES ibrep-dynamic)
100 + else (OPTION_SHARED)
101 + list (APPEND INTERNAL_LIBRARIES ibrep-static)
102 + endif(OPTION_SHARED)  
103 + list (APPEND INTERNAL_LIBRARIES toIbrep)
104   endif(ENABLE_IBREP)
105  
106 < if(ENABLE_GNURBS)
107 < add_subdirectory(gnurbs)
108 < endif(ENABLE_GNURBS)
106 >
107 > add_subdirectory(lib)
108 > add_subdirectory(app)
109 >
110  
111  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines