File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,6 +41,16 @@ compile_commands.json: $(_build_path)/compile_commands.json
4141CMakeUserPresets.json :: cmake/CMakeUserPresets.json
4242 -ln -fs $< $@
4343
44+ find_package_test : # XXX install ## Test with installed cmake config package
45+ cmake -S examples -B build/find_package_test -G Ninja \
46+ -D CMAKE_CXX_STANDARD=26 \
47+ -D CMAKE_BUILD_TYPE=Release \
48+ -D CMAKE_SKIP_TEST_ALL_DEPENDENCY=OFF \
49+ --debug-find-pkg =beman.execution
50+ ninja -C build/find_package_test test
51+ ninja -C build/find_package_test ninja -t deps | egrep -w '(cmake_cxx_std|beman)'
52+ ninja -C build/find_package_test -t commands beman_execution.example.modules | tail -1
53+
4454distclean : # # Remove all build artifacts
4555 rm -rf build .cache
4656 rm -f CMakeUserPresets.json \
@@ -49,8 +59,9 @@ distclean: ## Remove all build artifacts
4959 find . -name ' *~' -delete
5060
5161format : distclean # # Format all files with pre-commit
52- -pre-commit autoupdate
53- pre-commit run --all
62+ git ls-files ' :(top,exclude)infra/cmake/' ::cmake.in ::* .cmake ::* CMakeLists.txt | xargs gersemi -i
63+ # -pre-commit autoupdate --freeze
64+ # pre-commit run --all
5465
5566dockerbuild : # # Start docker image interactive
5667 docker run -it -v $(CURDIR ) :/src $(IMAGE )
Original file line number Diff line number Diff line change 2222 "configurePreset" : " release" ,
2323 "configuration" : " Release" ,
2424 "targets" : [
25- " all_verify_interface_header_sets" ,
2625 " all"
2726 ]
2827 }
Original file line number Diff line number Diff line change 33# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
44# gersemi: on
55
6- cmake_minimum_required(VERSION 3.30...4.4 )
6+ cmake_minimum_required(VERSION 3.30...4.5 )
77
88include (../cmake/prelude.cmake)
99
@@ -38,8 +38,7 @@ set(EXAMPLES
3838)
3939
4040if(BEMAN_USE_MODULES)
41- # -dk:TODO gcc doesn't like the modules: list(APPEND EXAMPLES modules modules_and_header)
42- list(APPEND EXAMPLES modules_and_header)
41+ list(APPEND EXAMPLES modules modules_and_header)
4342endif()
4443
4544if(BEMAN_EXECUTION_WITH_DEFAULT_PARALLEL_SCHEDULER_BACKEND)
You can’t perform that action at this time.
0 commit comments