option(HAVE_LOCKS "Build with POSIX locking mechanisms" ON) option(WITH_EXAMPLES "Build with examples" OFF) option(WITH_MEMORY_SPACE_AWARENESS "Build with memory space awareness" OFF) option(WITH_COALESCING "Build with coalescing support" OFF) option(WITH_STATIC_LIB "Build a static library" OFF) option(WITH_SHARED_LIB "Build a shared library" OFF) option(WITH_DOC "Build with documentation" OFF) set(NUM_HEAPS '0') option(P2012 "Build for P2012 runtime" OFF) option(LINUXTEST "Build a case for Linux" ON) if (P2012) set(HAVE_LOCKS OFF) set(WITH_MEMORY_SPACE_AWARENESS ON) set(WITH_STATIC_LIB ON) set(NUM_HEAPS '0') set(LINUXTEST OFF) endif (P2012) if (LINUXTEST) set(HAVE_LOCKS OFF) set(WITH_EXAMPLES ON) set(WITH_COALESCING ON) set(WITH_SHARED_LIB ON) set(WITH_DOC ON) endif (LINUXTEST)