This is an automated email from the ASF dual-hosted git repository. pengzheng pushed a commit to branch feature/483-conan-2-support in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to refs/heads/feature/483-conan-2-support by this push: new 9ea3246c Still recommend using `conan build` in our Conan-based CLion workflow but mention a quicker way to skip full building. 9ea3246c is described below commit 9ea3246c91fcbf17e76d771a79146df2d911c583 Author: PengZheng <howto...@gmail.com> AuthorDate: Thu Aug 24 18:31:00 2023 +0800 Still recommend using `conan build` in our Conan-based CLion workflow but mention a quicker way to skip full building. --- documents/building/dev_celix_with_clion.md | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/documents/building/dev_celix_with_clion.md b/documents/building/dev_celix_with_clion.md index 6f0c6f10..8c091731 100644 --- a/documents/building/dev_celix_with_clion.md +++ b/documents/building/dev_celix_with_clion.md @@ -48,19 +48,13 @@ conan profile update settings.build_type=Debug debug #generate and configure cmake-build-debug directory conan install . celix/2.3.0 -pr:b default -pr:h debug -if cmake-build-debug/ -o celix:enable_testing=True -o celix:enable_address_sanitizer=True -o celix:build_all=True -b missing -#invoke the exact cmake command `conan install` shows to configure the build directory -cd cmake-build-debug -cmake .. -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/peng/Downloads/git/mycelix/cmake-build-debug/conan_toolchain.cmake -DENABLE_TESTING=ON -DENABLE_CODE_COVERAGE=OFF -DENABLE_ADDRESS_SANITIZER=ON -DENABLE_UNDEFINED_SANITIZER=OFF -DENABLE_THREAD_SANITIZER=OFF -DENABLE_TESTING_DEPENDENCY_MANAGER_FOR_CXX11=OFF -DENABLE_TESTING_FOR_CXX14=OFF -DBUILD_ALL=ON -DBUILD_DEPLOYMENT_ADMIN=ON -DBUILD_HTTP_ADMIN=ON -DBUILD_LOG_SERVICE=ON -DBUILD_LOG_HELPER=ON -DBUILD_LOG_SERVICE_API=ON -DBUILD_S [...] - -#optional build, you may want to skip it and use CLion to build -make -j - -# if you don't like the above very long cmake command, you may use the following command instead -# Note that it does a full building, which may take a long time -# conan build . -bf cmake-build-debug/ - +# optional build +# If you want to skip building, which may take long, you can copy the the exact CMAKE command `conan install` shows into CLion +# and let CLion perform build directory configuration and build. +conan build . -bf cmake-build-debug/ #optional setup run env and run tests +cd cmake-build-debug source conanrun.sh ctest --verbose source deactivate_conanrun.sh