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 314 by francois, Sat Feb 18 04:49:46 2012 UTC vs.
Revision 350 by francois, Thu Jul 5 15:45:40 2012 UTC

# Line 15 | Line 15 | 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 < option(OPTION_SHARED "Magic Compilation avec Shared" ON)
20 >
21 >
22 > set(CADXFEM_PATH "../cadxfem" CACHE STRING "CADXFEM Path")
23 >
24  
25   if(ENABLE_OCC)
26    if(WIN32)
# Line 81 | Line 85 | if(ENABLE_STEP)
85   add_definitions(-DBREP_STEP)
86   endif(ENABLE_STEP)
87  
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)
88  
89  
90   if(ENABLE_IBREP)
91 < add_subdirectory(IBrep)
92 < 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)
91 > add_subdirectory(${CADXFEM_PATH}/IBrep "${CMAKE_CURRENT_BINARY_DIR}/IBrep")
92 >
93   endif(ENABLE_IBREP)
94 + if(ENABLE_NUTIL)
95 + add_subdirectory(${CADXFEM_PATH}/nutil "${CMAKE_CURRENT_BINARY_DIR}/nutil")
96  
97 + endif(ENABLE_NUTIL)
98  
99   add_subdirectory(lib)
100   add_subdirectory(app)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines