SCRIPTS CMake Lists files

In the CMakeLists.txt mainly in the set(EXAMPLE3_ SCRIPTS ) I got Main_DPGA.out not only in here but also in all examples in the scripts of the CMakeLists.txt. Why we added the that file and from where can I get for my simulation? a snap shot sample is attached here.
image

Thank you for your help!

Not sure I understand the question… What errors are you seeing? There’s no Geant4 example with a main_DPGA.in/out file, so not sure whether this is your code, or from somewhere else?

Thank Dear for your response.
Sorry if my question is vague. Yes as you said the above snapshot is taken from from https://github.com/avirm/VadymCode/blob/master/DPGA/main_DPGA.cc but in general almost in all examples of the geant4 CmakeLists.txt both .out and .in are included. For example if you see ExampleB1 it includes the snapshot attached here.
image

The .out files are nominally the stdout/err output produced by running the application with the .in script of the same name, e.g.

$ exampleB1 exampleB1.in
... output here is generally the contents of the exampleB1.out file ...

So if in you application you have a script myscript.in then myscript.out could be generated, on Unix, via:

$ myapplication myscript.in > myscript.out 2>&1 

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.