DefineOptions.cmake 816 B

123456789101112131415161718192021222324252627282930
  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_COALESCING "Build with coalescing support" OFF)
  5. option(WITH_STATIC_LIB "Build a static library" OFF)
  6. option(WITH_SHARED_LIB "Build a shared library" OFF)
  7. option(WITH_DOC "Build with documentation" OFF)
  8. set(NUM_HEAPS '0')
  9. option(P2012 "Build for P2012 runtime" OFF)
  10. option(LINUXTEST "Build a case for Linux" ON)
  11. if (P2012)
  12. set(HAVE_LOCKS OFF)
  13. set(WITH_MEMORY_SPACE_AWARENESS ON)
  14. set(WITH_STATIC_LIB ON)
  15. set(NUM_HEAPS '0')
  16. set(LINUXTEST OFF)
  17. endif (P2012)
  18. if (LINUXTEST)
  19. set(HAVE_LOCKS OFF)
  20. set(WITH_EXAMPLES ON)
  21. set(WITH_COALESCING ON)
  22. set(WITH_SHARED_LIB ON)
  23. set(WITH_DOC ON)
  24. endif (LINUXTEST)