mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 01:58:00 +02:00
clang tidy
This commit is contained in:
@ -16,6 +16,8 @@ if(SLS_USE_TESTS)
|
||||
|
||||
target_link_libraries(detector_test
|
||||
slsDetectorShared
|
||||
slsProjectOptions
|
||||
slsProjectWarnings
|
||||
slsSupportLib
|
||||
pthread
|
||||
rt
|
||||
@ -23,9 +25,11 @@ if(SLS_USE_TESTS)
|
||||
set_target_properties(detector_test PROPERTIES
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
)
|
||||
add_executable(a src/a.cpp)
|
||||
|
||||
add_executable(a src/a.cpp)
|
||||
target_link_libraries(a
|
||||
slsProjectOptions
|
||||
slsProjectWarnings
|
||||
slsDetectorShared
|
||||
slsSupportLib
|
||||
pthread
|
||||
|
@ -35,6 +35,10 @@ std::ostream &operator<<(std::ostream &out, const ROI &r) {
|
||||
}
|
||||
|
||||
int main() {
|
||||
|
||||
int ret[3]{};
|
||||
for (auto i: ret)
|
||||
std::cout << i << "\n";
|
||||
// uint32_t imageSize = 101;
|
||||
// uint32_t packetSize = 100;
|
||||
// std::cout << "a: " << std::ceil((double)imageSize / (double)packetSize) <<'\n';
|
||||
|
Reference in New Issue
Block a user