1#include <ogdf/basic/basic.h>
2
3int main() {
4#ifdef OGDF_DEBUG
5 bool debugMode = true;
6#else
7 bool debugMode = false;
8#endif
9 std::cout << "This user program is compiled in " << (debugMode ? "Debug" : "Release") << " mode." << std::endl;
10 std::cout << "The OGDF is compiled in " << (ogdf::debugMode ? "Debug" : "Release") << " mode." << std::endl;
11 if (debugMode != ogdf::debugMode) {
12 std::cout << "Check your configuration!" << std::endl;
13 return 1;
14 }
15 std::cout << "Everything is fine!" << std::endl;
16 return 0;
17}
18