You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*`find_package2` has moved to [`FairFindPackage2`](https://fairrootgroup.github.io/FairCMakeModules/latest/module/FairFindPackage2.html).
29
+
To use it in your code, perform something like this:
30
+
```cmake
31
+
find_package(FairCMakeModules 1.0 REQUIRED)
32
+
include(FairFindPackage2)
33
+
```
34
+
* Dropped Color Codes and `pad()`, use [`FairFormattedOutput` from FairCMakeModules](https://fairrootgroup.github.io/FairCMakeModules/latest/module/FairFormattedOutput.html)
35
+
instead
36
+
* Note that [`fair_pad()`](https://fairrootgroup.github.io/FairCMakeModules/latest/module/FairFormattedOutput.html#fair-pad)
37
+
needs the width argument to be incremented by 1, and the `COLOR` option
38
+
takes no argument
39
+
* Dropped `Generate_Exe_Script()`, it was never meant for external use
40
+
* Dropped `GENERATE_TEST_SCRIPT()`, replace it with a locally maintained solution
41
+
* Consider using `source @FairRoot_BINDIR@/FairRootConfig.sh -p`
42
+
* Dropped `Generate_Version_Info()`
43
+
* If you just need to generate some files with your version number in it,
44
+
use the standard [`configure_file`](https://cmake.org/cmake/help/latest/command/configure_file.html)
45
+
CMake command.
46
+
* Alternatively, consider creating a [proper CMake Package](https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#creating-packages)
47
+
with `configure_package_config_file()`, and `write_basic_package_version_file()`.
48
+
* If you need the "git version", use
49
+
[`fair_get_git_version()` from FairCMakeModules](https://fairrootgroup.github.io/FairCMakeModules/latest/module/FairProjectConfig.html#fair-get-git-version)
50
+
in addition.
51
+
* Renamed our `ROOT_GENERATE_DICTIONARY()` to `FAIRROOT_GENERATE_DICTIONARY()`
52
+
* Dropped build switch `BUILD_UNITTESTS`, it was in conflict with the CMake
53
+
standard switch [`BUILD_TESTING` from the CTest module](https://cmake.org/cmake/help/latest/module/CTest.html)
54
+
55
+
* C++
56
+
* `fEvtHeader` member variable now is a private unique pointer owned by
57
+
`FairRun`. To access the event header, use the public member function
0 commit comments