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 349 by francois, Thu Jul 5 08:37:07 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_NUTIL "Magic Enable NUTIL (pour la visu VTK)" OFF)
19 > option(ENABLE_TEST "Magic Enable test" OFF)
20 >
21 >
22 > set(CADXFEM_PATH "../cadxfem" CACHE STRING "CADXFEM Path")
23 >
24  
25   if(ENABLE_OCC)
26    if(WIN32)
# Line 73 | Line 78 | if(ENABLE_SAT)
78   add_definitions(-DBREP_SAT)
79   endif(ENABLE_SAT)
80  
81 + if(ENABLE_OCC)
82 + add_definitions(-DBREP_OCC)
83 + endif(ENABLE_OCC)
84   if(ENABLE_STEP)
85   add_definitions(-DBREP_STEP)
86   endif(ENABLE_STEP)
87  
88  
81 add_subdirectory(lib)
82 add_subdirectory(app)
89  
90   if(ENABLE_IBREP)
91 < add_subdirectory(IBrep)
91 > add_subdirectory(${CADXFEM_PATH}/IBrep "${CMAKE_CURRENT_BINARY_DIR}/cadxfem")
92 >
93 > endif(ENABLE_IBREP)
94 > if(ENABLE_NUTIL)
95 > add_subdirectory(${CADXFEM_PATH}/nutil "${CMAKE_CURRENT_BINARY_DIR}/cadxfem")
96 >
97   endif(ENABLE_IBREP)
98  
99 < if(ENABLE_GNURBS)
100 < add_subdirectory(gnurbs)
101 < endif(ENABLE_GNURBS)
99 > add_subdirectory(lib)
100 > add_subdirectory(app)
101 >
102  
103  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines