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 |
|
|
22 |
|
if(ENABLE_OCC) |
23 |
|
if(WIN32) |
79 |
|
add_definitions(-DBREP_STEP) |
80 |
|
endif(ENABLE_STEP) |
81 |
|
|
80 |
– |
|
81 |
– |
add_subdirectory(lib) |
82 |
– |
add_subdirectory(app) |
83 |
– |
|
82 |
|
if(ENABLE_IBREP) |
83 |
|
add_subdirectory(IBrep) |
84 |
|
endif(ENABLE_IBREP) |
85 |
|
|
86 |
< |
if(ENABLE_GNURBS) |
87 |
< |
add_subdirectory(gnurbs) |
88 |
< |
endif(ENABLE_GNURBS) |
86 |
> |
|
87 |
> |
|
88 |
> |
add_subdirectory(lib) |
89 |
> |
add_subdirectory(app) |
90 |
> |
|
91 |
|
|
92 |
|
|