Skip to content

Commit

Permalink
Working PETSIRD writer (#7)
Browse files Browse the repository at this point in the history
* Scaffolding writing PETSIRD

* First working PETSIRD writer

* Fixed z positions and clean up

* Adding some debug print out and swaping x and y in detectors

* Printing percent progress

* Small tweak to diameter and closing stream
  • Loading branch information
hansenms authored Nov 14, 2023
1 parent 4756f32 commit d728015
Show file tree
Hide file tree
Showing 2 changed files with 199 additions and 484 deletions.
7 changes: 7 additions & 0 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ project(PETSIRDUseCaseTemplate VERSION 0.1.0)

set(CMAKE_CXX_STANDARD 17)

#Set the build type to Release if not specified
if (NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release CACHE STRING
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
FORCE)
endif ()

if(WIN32)
add_compile_options(/W3 /WX)
else()
Expand Down
Loading

0 comments on commit d728015

Please sign in to comment.