File tree Expand file tree Collapse file tree 4 files changed +17
-211
lines changed Expand file tree Collapse file tree 4 files changed +17
-211
lines changed Original file line number Diff line number Diff line change @@ -426,9 +426,6 @@ add_subdirectory (montecarlo)
426
426
if (geom)
427
427
add_subdirectory (geom)
428
428
endif ()
429
- if (NOT WIN32 )
430
- add_subdirectory (rootx)
431
- endif ()
432
429
add_subdirectory (misc)
433
430
add_subdirectory (main)
434
431
add_subdirectory (bindings)
Original file line number Diff line number Diff line change @@ -16,7 +16,24 @@ if(NOT WIN32)
16
16
endif ()
17
17
ROOT_EXECUTABLE(roots.exe roots.cxx LIBRARIES Core MathCore CMAKENOEXPORT)
18
18
endif ()
19
+
19
20
ROOT_EXECUTABLE(root.exe rmain.cxx LIBRARIES Core Rint)
21
+
22
+ if (NOT MSVC )
23
+ # Create a symlink in the build tree
24
+ add_custom_command (TARGET root.exe POST_BUILD
25
+ COMMAND ${CMAKE_COMMAND} -E create_symlink "root.exe" ${CMAKE_BINARY_DIR} /bin/root
26
+ )
27
+ # Create symlink in the install tree
28
+ install (CODE "
29
+ execute_process(COMMAND
30
+ \" ${CMAKE_COMMAND} \" -E create_symlink
31
+ root.exe
32
+ \"\$ ENV{DESTDIR}\$ {CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR} /root\" )
33
+ " )
34
+ endif ()
35
+
36
+
20
37
if (MSVC )
21
38
set (root_exports "/EXPORT:_Init_thread_abort /EXPORT:_Init_thread_epoch \
22
39
/EXPORT:_Init_thread_footer /EXPORT:_Init_thread_header /EXPORT:_tls_index \
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments