Definition Of Preprocessor Variables in FairRoot? #1144
kurbatov-lang
started this conversation in
General
Replies: 4 comments 1 reply
-
The preferred way is to use use the CMake command |
Beta Was this translation helpful? Give feedback.
0 replies
-
Dear colleague!
Thank you for the answer, but still it is unclear for
me : I am not well educated and let me ask you
stupid question - Where may I insert command
target_compile_definitions()?
As I know this command should be part of some CMakeLists.txt file.Right?
It means that I should put it in suitable file before compiling
FairRoot?
But I would want to know how to find setting of preprocessor variable
by some command from command line after system was compiled and
installed?
Thank you,Vladimir
…On 2022-02-05 19:40, Dennis Klein wrote:
The preferred way is to use use the CMake command
target_compile_definitions() [1].
--
Reply to this email directly, view it on GitHub [2], or unsubscribe
[3].
Triage notifications on the go with GitHub Mobile for iOS [4] or
Android [5].
You are receiving this because you authored the thread.Message ID:
***@***.***>
Links:
------
[1]
https://cmake.org/cmake/help/latest/command/target_compile_definitions.html
[2]
#1144 (comment)
[3]
https://github.com/notifications/unsubscribe-auth/AQQ2QXNHWT7SZWWBBLF5ORDUZVHI5ANCNFSM5NTQ2VLA
[4]
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
[5]
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Dear colleague!
In Root there is a class TRandom. On the other hand
geant4 is using random numbers for its functionality.
What are generators, used by it? It is not the same generators as in
TRandom?
Thank you
…On 2022-02-05 19:40, Dennis Klein wrote:
The preferred way is to use use the CMake command
target_compile_definitions() [1].
--
Reply to this email directly, view it on GitHub [2], or unsubscribe
[3].
Triage notifications on the go with GitHub Mobile for iOS [4] or
Android [5].
You are receiving this because you authored the thread.Message ID:
***@***.***>
Links:
------
[1]
https://cmake.org/cmake/help/latest/command/target_compile_definitions.html
[2]
#1144 (comment)
[3]
https://github.com/notifications/unsubscribe-auth/AQQ2QXNHWT7SZWWBBLF5ORDUZVHI5ANCNFSM5NTQ2VLA
[4]
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
[5]
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Dear Vladimir, Geant4 uses own random generators internally but the seeds you set in your macros or classes in FairRoot are passed to Geant4 through the VMC interface. best, Mohammad |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear Colleagues! Can anybody say whe I can define/redefine Preprocessor Variables in FairRoot?
I supposed that this was in CMakeLists.txt files but did not find it there.
Thank you
Beta Was this translation helpful? Give feedback.
All reactions