1 [OGDF](README.md) ยป Compiler Defines
3 # Compiler Defines {#defines}
5 Here we list some of the available compiler definitions and macros.
9 | **Definition** | **Location** | **Description** |
10 |-------------------------------|--------------------|------------------|
11 | `OGDF_DEBUG` | build configuration | Perform OGDF assertions.
12 | `OGDF_USE_ASSERT_EXCEPTIONS` | build configuration | Throw exceptions instead of exiting by `assert()`.
13 | `OGDF_USE_ASSERT_EXCEPTIONS_WITH_STACK_TRACE` | build configuration | If assert exceptions are thrown, add a stack trace in the `what()` string.
14 | `OGDF_FUNCTION_NAME` | build configuration | Either `__func__` or `__PRETTY_FUNCTION__` if available. Only set if `OGDF_DEBUG` and `OGDF_USE_ASSERT_EXCEPTIONS` is set.
15 | `OGDF_DLL` | build configuration | Building or using ODFG as a DLL.
16 | `OGDF_INSTALL` | build configuration | Building ODFG as a DLL.
17 | `COIN_OSI_CLP` | build configuration | Clp is the linear program solver (default).
18 | `COIN_OSI_GRB` | build configuration | Gurobi is the linear program solver.
19 | `COIN_OSI_CPX` | build configuration | CPLEX is the linear program solver.
20 | `OGDF_MEMORY_POOL_TS` | build configuration | OGDF uses the custom thread-safe pool memory manager (default).
21 | `OGDF_MEMORY_POOL_NTS` | build configuration | OGDF uses the custom non-thread-safe pool memory manager.
22 | `OGDF_MEMORY_POOL_MALLOC` | build configuration | OGDF uses the default c++ memory manager.
23 | `OGDF_SSE3_EXTENSIONS` | build configuration | Set to the (system-specific) path of intrinsics (eg, `<intrin.h>`) or not defined.
24 | `OGDF_SYSTEM_WINDOWS` | `basic/basic.h` | Compiling for a Windows system.
25 | `OGDF_SYSTEM_OSX` | `basic/basic.h` | Compiling for a Mac OS X system; in this case OGDF_SYSTEM_UNIX is also defined.
26 | `OGDF_ARCH_X86` | `basic/System.h` | Compiling for a 32-bit x86 (Intel/AMD) architecture.
27 | `OGDF_ARCH_X64` | `basic/System.h` | Compiling for a 64-bit x64 (Intel/AMD) architecture.
31 You can find a list of useful macros in the Doxygen documentation.