Skip to content
Snippets Groups Projects
Commit dfde1d43 authored by Pere Mato Vila's avatar Pere Mato Vila
Browse files

Updated release notes

parent 840f3d2e
No related branches found
No related tags found
No related merge requests found
......@@ -126,5 +126,24 @@ The following interfaces have been removed, after deprecation in v6.08.
## Build, Configuration and Testing Infrastructure
- Added the CMake exported ROOT libraries into the ROOT:: namespace. In this way, projects based on CMake using ROOT can avoid
conflicts in library target names. As an example, this is the way to build a project consisting of one library and one
executable using ROOT.
```
find_package(ROOT REQUIRED)
include(${ROOT_USE_FILE})
include_directories(${CMAKE_SOURCE_DIR} ${ROOT_INCLUDE_DIRS})
add_definitions(${ROOT_CXX_FLAGS})
ROOT_GENERATE_DICTIONARY(G__Event Event.h LINKDEF EventLinkDef.h)
add_library(Event SHARED Event.cxx G__Event.cxx)
target_link_libraries(Event ROOT::Hist ROOT::Tree)
add_executable(Main MainEvent.cxx)
target_link_libraries(Main Event)
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment