Sha256: 693f93b7c92a01d6ba0a034a14b9ee000850cfa8847bdc2bca908d41cdcb6949
Contents?: true
Size: 1.1 KB
Versions: 1
Compression:
Stored size: 1.1 KB
Contents
# # ${SIMDJSON_USER_CMAKECACHE} contains the *user-specified* simdjson options so you can call cmake on # another branch or repository with the same options. # # Not supported on Windows at present, because the only thing that uses it is checkperf, which we # don't run on Windows. # set(SIMDJSON_USER_CMAKECACHE ${CMAKE_CURRENT_BINARY_DIR}/.simdjson-user-CMakeCache.txt) if (MSVC) add_custom_command( OUTPUT ${SIMDJSON_USER_CMAKECACHE} COMMAND findstr SIMDJSON_ ${PROJECT_BINARY_DIR}/CMakeCache.txt > ${SIMDJSON_USER_CMAKECACHE}.tmp COMMAND findstr /v SIMDJSON_LIB_ ${SIMDJSON_USER_CMAKECACHE}.tmp > ${SIMDJSON_USER_CMAKECACHE} VERBATIM # Makes it not do weird escaping with the command ) else() add_custom_command( OUTPUT ${SIMDJSON_USER_CMAKECACHE} COMMAND grep SIMDJSON_ ${PROJECT_BINARY_DIR}/CMakeCache.txt > ${SIMDJSON_USER_CMAKECACHE}.tmp COMMAND grep -v SIMDJSON_LIB_ ${SIMDJSON_USER_CMAKECACHE}.tmp > ${SIMDJSON_USER_CMAKECACHE} VERBATIM # Makes it not do weird escaping with the command ) endif() add_custom_target(simdjson-user-cmakecache DEPENDS ${SIMDJSON_USER_CMAKECACHE})
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simdjson-0.3.0 | vendor/simdjson/cmake/simdjson-user-cmakecache.cmake |