Plugin for https://github.com/blockspacer/flextool
Plugin provides rules for source code transformation and generation.
See for details https://blockspacer.github.io/flex_docs/plugins/
export CXX=clang++-10
export CC=clang-10
export VERBOSE=1
export CONAN_REVISIONS_ENABLED=1
export CONAN_VERBOSE_TRACEBACK=1
export CONAN_PRINT_RUN_COMMANDS=1
export CONAN_LOGGING_LEVEL=10
export GIT_SSL_NO_VERIFY=true
# NOTE: change `build_type=Debug` to `build_type=Release` in production
# NOTE: use --build=missing if you got error `ERROR: Missing prebuilt package`
cmake -E time \
conan create . conan/stable \
-s build_type=Debug -s cling_conan:build_type=Release \
--profile clang \
-o flex_meta_plugin:enable_clang_from_conan=False \
-e flex_meta_plugin:enable_tests=True
# clean build cache
conan remove "*" --build --force