Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -426,9 +426,6 @@ add_subdirectory (montecarlo)
if(geom)
add_subdirectory (geom)
endif()
if(NOT WIN32)
add_subdirectory (rootx)
endif()
add_subdirectory (misc)
add_subdirectory (main)
add_subdirectory (bindings)
Expand Down
17 changes: 17 additions & 0 deletions main/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,24 @@ if(NOT WIN32)
endif()
ROOT_EXECUTABLE(roots.exe roots.cxx LIBRARIES Core MathCore CMAKENOEXPORT)
endif()

ROOT_EXECUTABLE(root.exe rmain.cxx LIBRARIES Core Rint)

if(NOT MSVC)
# Create a symlink in the build tree
add_custom_command(TARGET root.exe POST_BUILD
COMMAND ${CMAKE_COMMAND} -E create_symlink "root.exe" ${CMAKE_BINARY_DIR}/bin/root
)
# Create symlink in the install tree
install(CODE "
execute_process(COMMAND
\"${CMAKE_COMMAND}\" -E create_symlink
root.exe
\"\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_BINDIR}/root\")
")
endif()


if(MSVC)
set(root_exports "/EXPORT:_Init_thread_abort /EXPORT:_Init_thread_epoch \
/EXPORT:_Init_thread_footer /EXPORT:_Init_thread_header /EXPORT:_tls_index \
Expand Down
29 changes: 0 additions & 29 deletions rootx/CMakeLists.txt

This file was deleted.

269 changes: 0 additions & 269 deletions rootx/src/rootx.cxx

This file was deleted.

Loading