You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.5 KiB

  1. Index: folly-2019.05.06.00/CMakeLists.txt
  2. ===================================================================
  3. --- folly-2019.05.06.00.orig/CMakeLists.txt
  4. +++ folly-2019.05.06.00/CMakeLists.txt
  5. @@ -109,17 +109,19 @@ configure_file(
  6. auto_sources(files "*.cpp" "RECURSE" "${FOLLY_DIR}")
  7. auto_sources(hfiles "*.h" "RECURSE" "${FOLLY_DIR}")
  8. +string(REPLACE + \\+ FOLLY_DIR_ESCAPED ${FOLLY_DIR})
  9. +
  10. # Exclude tests, benchmarks, and other standalone utility executables from the
  11. # library sources. Test sources are listed separately below.
  12. REMOVE_MATCHES_FROM_LISTS(files hfiles
  13. MATCHES
  14. - "^${FOLLY_DIR}/build/"
  15. - "^${FOLLY_DIR}/experimental/exception_tracer/"
  16. - "^${FOLLY_DIR}/experimental/pushmi/"
  17. - "^${FOLLY_DIR}/futures/exercises/"
  18. - "^${FOLLY_DIR}/logging/example/"
  19. - "^${FOLLY_DIR}/(.*/)?test/"
  20. - "^${FOLLY_DIR}/tools/"
  21. + "^${FOLLY_DIR_ESCAPED}/build/"
  22. + "^${FOLLY_DIR_ESCAPED}/experimental/exception_tracer/"
  23. + "^${FOLLY_DIR_ESCAPED}/experimental/pushmi/"
  24. + "^${FOLLY_DIR_ESCAPED}/futures/exercises/"
  25. + "^${FOLLY_DIR_ESCAPED}/logging/example/"
  26. + "^${FOLLY_DIR_ESCAPED}/(.*/)?test/"
  27. + "^${FOLLY_DIR_ESCAPED}/tools/"
  28. "Benchmark.cpp$"
  29. "Test.cpp$"
  30. )
  31. @@ -172,7 +174,7 @@ list(APPEND hfiles
  32. if (NOT FOLLY_USE_SYMBOLIZER)
  33. REMOVE_MATCHES_FROM_LISTS(files hfiles
  34. MATCHES
  35. - "^${FOLLY_DIR}/experimental/symbolizer/"
  36. + "^${FOLLY_DIR_ESCAPED}/experimental/symbolizer/"
  37. )
  38. list(REMOVE_ITEM files
  39. ${FOLLY_DIR}/SingletonStackTrace.cpp