1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2025-06-18 07:17:05 +01:00

compiler flags and warning cleanup

This commit is contained in:
2024-02-10 12:58:23 +01:00
parent f4dcadd3bb
commit 7d55fc30b5
7 changed files with 40 additions and 13 deletions

View File

@ -376,10 +376,10 @@ int main(int argc, char *argv[])
unsigned int k = 0;
while (k < 10)
{
auto &f = it->second;
auto &itFit = it->second;
cout << "#" << k + 1 << " -- [" << f.tMin << ", " << f.tMax << "] -- ";
f.result.print();
cout << "#" << k + 1 << " -- [" << itFit.tMin << ", " << itFit.tMax << "] -- ";
itFit.result.print();
cout << endl;
k++;
it++;

View File

@ -2,6 +2,6 @@ set(PHYSICS_STEM 2pt-fit)
foreach(_stem ${PHYSICS_STEM})
add_executable(latan-${_stem} ${_stem}.cpp)
target_link_libraries(latan-${_stem} LatAnalyze)
target_link_libraries(latan-${_stem} LatAnalyze compiler_flags)
install(TARGETS latan-${_stem} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
endforeach()