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_STATIC_LIB "Build with a static library" OFF) option(P2012 "Build for P2012 runtime" OFF) if (P2012) set(HAVE_LOCKS OFF) set(WITH_MEMORY_SPACE_AWARENESS ON) set(WITH_STATIC_LIB ON) endif (P2012)