DefineOptions.cmake 537 B

12345678910111213141516171819
  1. option(HAVE_LOCKS "Build with POSIX locking mechanisms" ON)
  2. option(WITH_EXAMPLES "Build with examples" OFF)
  3. option(WITH_MEMORY_SPACE_AWARENESS "Build with memory space awareness" OFF)
  4. option(WITH_STATIC_LIB "Build a static library" OFF)
  5. option(WITH_SHARED_LIB "Build a shared library" OFF)
  6. option(WITH_DOC "Build with documentation" OFF)
  7. set(NUM_HEAPS '0')
  8. option(P2012 "Build for P2012 runtime" OFF)
  9. if (P2012)
  10. set(HAVE_LOCKS OFF)
  11. set(WITH_MEMORY_SPACE_AWARENESS ON)
  12. set(WITH_STATIC_LIB ON)
  13. set(NUM_HEAPS '0')
  14. endif (P2012)