mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-06-05 12:30:39 +02:00
fix for ci and fetchcontent build
replace cmake --build with actual command in github format workflow for faster checking
This commit is contained in:
parent
0755de309e
commit
ea17a640cf
4
.github/workflows/format.yml
vendored
4
.github/workflows/format.yml
vendored
@ -13,9 +13,7 @@ jobs:
|
||||
pwd
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
cmake --build . --target=check-format
|
||||
|
||||
find \( -name "*.cpp" -o -name "*.hpp" \) -not -path "./build/*" | xargs -I {} -n 1 -P 10 bash -c "clang-format -i -style=\"file:.clang-format\" {}"
|
||||
|
||||
|
||||
|
||||
|
@ -89,6 +89,7 @@ if (AARE_FETCH_BOOST)
|
||||
GIT_TAG boost-1.80.0
|
||||
)
|
||||
FetchContent_MakeAvailable(Boost)
|
||||
set(Boost_LIBRARIES Boost::program_options)
|
||||
else()
|
||||
|
||||
find_package(Boost 1.80 REQUIRED COMPONENTS program_options)
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
set(EXAMPLE_LIST "json_example;logger_example;numpy_read_example;multiport_example;raw_example;restream_example")
|
||||
set(EXAMPLE_LIST "json_example;logger_example;numpy_read_example;multiport_example;raw_example;zmq_restream_example")
|
||||
set(EXAMPLE_LIST "${EXAMPLE_LIST};mythen_example;numpy_write_example;zmq_receiver_example;zmq_sender_example;")
|
||||
foreach(example ${EXAMPLE_LIST})
|
||||
add_executable(${example} ${example}.cpp)
|
||||
|
@ -1,11 +1,10 @@
|
||||
#include <boost/program_options.hpp>
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
|
||||
#include "aare/file_io/File.hpp"
|
||||
#include "aare/network_io/ZmqSocketSender.hpp"
|
||||
|
||||
#include <boost/program_options/options_description.hpp>
|
||||
#include <boost/program_options.hpp>
|
||||
|
||||
using namespace aare;
|
||||
using namespace std;
|
Loading…
x
Reference in New Issue
Block a user