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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+87-80Lines changed: 87 additions & 80 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,98 +8,105 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
8
8
## 19.0 (Unreleased) - 2024-03-xx
9
9
10
10
### Breaking Changes
11
-
* We have moved away from our custom ROOT find module, and now use the native cmake package of ROOT.
12
-
* This means, that all library dependencies of the type `Core` are either not working at all, or might not work as expected. Please upgrade all of them to be like `ROOT::Core` .
13
-
* This also means, that you need to add an `include(ROOTMacros)` after your `find_package2(... ROOT ...)`.
14
-
*`ROOT_VERSION_NUMBER` is gone. Use `ROOT_VERSION` (which is the dotted version number) and `VERSION_GREATER`/etc now.
15
-
*`ROOTSYS` isn't any longer set. For example use ROOT targets instead.
16
-
* Many CMake related tools have been externalized into
* You need to install it before installing FairRoot. FairSoft provides it.
20
-
*`find_package2` has moved to `FairFindPackage2`.
21
-
To use it in your code, perform something like this:
22
-
```cmake
23
-
find_package(FairCMakeModules 1.0 REQUIRED)
24
-
include(FairFindPackage2)
25
-
```
26
-
* Dropped Color Codes and `pad()`
27
-
* Use `FairFormattedOutput` from FairCMakeModules
28
-
* Note that `fair_pad` needs the width argument to be incremented by 1,
29
-
and the COLOR option takes no argument.
30
-
* Dropped `Generate_Exe_Script`, and `GENERATE_TEST_SCRIPT`
31
-
* `Generate_Exe_Script` was never meant for external use.
32
-
* `GENERATE_TEST_SCRIPT` can be replaced by much simpler and more flexible local code by users.
33
-
* Replace with a local template, `configure_file`, and `execute_process()`
34
-
* In your template consider using `source @FairRoot_BINDIR/FairRootConfig.sh`
35
-
* Dropped `Generate_Version_Info`
36
-
* If you just need to generate some files with your version number in it,
37
-
use the standard `configure_file` CMake command.
38
-
* Alternatively consider creating a proper CMake Package with
39
-
`configure_package_config_file()`, and `write_basic_package_version_file()`.
40
-
* If you need the "git version", use
41
-
[`fair_get_git_version()` from FairCMakeModules](https://fairrootgroup.github.io/FairCMakeModules/latest/module/FairProjectConfig.html#fair-get-git-version)
42
-
in addition.
43
-
* Renamed our `ROOT_GENERATE_DICTIONARY` to `FAIRROOT_GENERATE_DICTIONARY`.
44
-
(It's not used in many places anyway, it seems.)
45
-
* `fEvtHeader` member variable now is a private unique pointer owned by `FairRun`. To access
46
-
the event header, please use the public member function `GetEventHeader()`.
47
-
* The following files have been deleted. As far as we know they were not used anywhere:
*`find_package2` has moved to [`FairFindPackage2`](https://fairrootgroup.github.io/FairCMakeModules/latest/module/FairFindPackage2.html).
30
+
To use it in your code, perform something like this:
31
+
```cmake
32
+
find_package(FairCMakeModules 1.0 REQUIRED)
33
+
include(FairFindPackage2)
34
+
```
35
+
* Dropped Color Codes and `pad()`, use [`FairFormattedOutput` from FairCMakeModules](https://fairrootgroup.github.io/FairCMakeModules/latest/module/FairFormattedOutput.html)
36
+
instead
37
+
* Note that [`fair_pad()`](https://fairrootgroup.github.io/FairCMakeModules/latest/module/FairFormattedOutput.html#fair-pad)
38
+
needs the width argument to be incremented by 1, and the `COLOR` option
39
+
takes no argument
40
+
* Dropped `Generate_Exe_Script()`, it was never meant for external use
41
+
* Dropped `GENERATE_TEST_SCRIPT()`, replace it with a locally maintained solution
42
+
* Consider using `source @FairRoot_BINDIR@/FairRootConfig.sh -p`
43
+
* Dropped `Generate_Version_Info()`
44
+
* If you just need to generate some files with your version number in it,
45
+
use the standard [`configure_file`](https://cmake.org/cmake/help/latest/command/configure_file.html)
46
+
CMake command.
47
+
* Alternatively, consider creating a [proper CMake Package](https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#creating-packages)
48
+
with `configure_package_config_file()`, and `write_basic_package_version_file()`.
49
+
* If you need the "git version", use
50
+
[`fair_get_git_version()` from FairCMakeModules](https://fairrootgroup.github.io/FairCMakeModules/latest/module/FairProjectConfig.html#fair-get-git-version)
51
+
in addition.
52
+
* Renamed our `ROOT_GENERATE_DICTIONARY()` to `FAIRROOT_GENERATE_DICTIONARY()`
53
+
* Dropped build switch `BUILD_UNITTESTS`, it was in conflict with the CMake
54
+
standard switch [`BUILD_TESTING` from the CTest module](https://cmake.org/cmake/help/latest/module/CTest.html)
55
+
56
+
* C++
57
+
* `fEvtHeader` member variable now is a private unique pointer owned by
58
+
`FairRun`. To access the event header, use the public member function
0 commit comments