12 lines
410 B
Markdown
12 lines
410 B
Markdown
|
# A Simple ROOT Project (CMake 3.11)
|
||
|
|
||
|
This is a minimal example of a ROOT project using the target system and without a dictionary.
|
||
|
This uses the new support in CMake 3.11+ for adding interface properties on an imported interface target.
|
||
|
|
||
|
#### examples/root-simple-3.11/CMakeLists.txt
|
||
|
[import:'main', lang:'cmake'](CMakeLists.txt)
|
||
|
|
||
|
#### examples/root-simple-3.11/SimpleExample.cxx
|
||
|
|
||
|
[import](SimpleExample.cxx)
|