31 | | depends_lib port:cmake |
32 | | depends_lib-append port:boost \ |
33 | | port:mpfr |
34 | | |
35 | | configure.cmd cmake . |
36 | | |
37 | | # Configuration |
38 | | # Start with no configure arguments: override defaults |
39 | | configure.pre_args |
40 | | configure.args |
41 | | configure.cflags |
42 | | configure.cxxflags |
43 | | |
44 | | configure.args-append -DCMAKE_INSTALL_PREFIX=${prefix} |
45 | | configure.args-append -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib |
46 | | configure.args-append -DCMAKE_BUILD_TYPE=Release |
47 | | configure.args-append -DBUILD_SHARED_LIBS=TRUE |
48 | | configure.args-append -DCMAKE_C_COMPILER=${configure.cc} |
49 | | configure.args-append -DCMAKE_CXX_COMPILER=${configure.cxx} |
50 | | |
51 | | variant universal { |
52 | | configure.universal_args-delete --disable-dependency-tracking |
53 | | configure.args-append -DCGAL_CXX_FLAGS=${configure.universal_args} |
54 | | configure.args-append -DCGAL_MODULE_LINKER_FLAGS=${configure.universal_args} |
55 | | configure.args-append -DCGAL_SHARED_LINKER_FLAGS=${configure.universal_args} |
56 | | configure.args-append -DCGAL_EXE_LINKER_FLAGS=${configure.universal_args} |
57 | | |
58 | | configure.universal_args |
59 | | } |
| 32 | depends_lib port:boost \ |
| 33 | port:mpfr \ |
| 34 | port:zlib \ |
| 35 | port:gmp |