10
10
############################################################################
11
11
12
12
if (NOT WIN32 )
13
- ROOT_EXECUTABLE(rootn.exe rmain.cxx LIBRARIES New Core MathCore Rint)
13
+ ROOT_EXECUTABLE(rootn.exe rmain.cxx LIBRARIES New Core MathCore Rint CMAKENOEXPORT )
14
14
if (CMAKE_SYSTEM_NAME STREQUAL Linux)
15
15
SET_TARGET_PROPERTIES (rootn.exe PROPERTIES LINK_FLAGS "-Wl,--no-as-needed" )
16
16
endif ()
17
- ROOT_EXECUTABLE(roots.exe roots.cxx LIBRARIES Core MathCore)
17
+ ROOT_EXECUTABLE(roots.exe roots.cxx LIBRARIES Core MathCore CMAKENOEXPORT )
18
18
endif ()
19
- ROOT_EXECUTABLE(root.exe rmain.cxx LIBRARIES Core Rint)
19
+ ROOT_EXECUTABLE(root.exe rmain.cxx LIBRARIES Core Rint CMAKENOEXPORT )
20
20
if (MSVC )
21
21
set (root_exports "/EXPORT:_Init_thread_abort /EXPORT:_Init_thread_epoch \
22
22
/EXPORT:_Init_thread_footer /EXPORT:_Init_thread_header /EXPORT:_tls_index \
@@ -26,23 +26,23 @@ if(MSVC)
26
26
COMMAND mt -manifest ${ROOT_MANIFEST} -outputresource:${CMAKE_BINARY_DIR} /bin/root.exe)
27
27
endif ()
28
28
if (proof)
29
- ROOT_EXECUTABLE(proofserv.exe pmain.cxx LIBRARIES Core MathCore)
29
+ ROOT_EXECUTABLE(proofserv.exe pmain.cxx LIBRARIES Core MathCore CMAKENOEXPORT )
30
30
endif ()
31
31
32
32
33
33
if (MSVC )
34
- ROOT_EXECUTABLE(hadd hadd.cxx LIBRARIES Core RIO Net Hist Graf Graf3d Gpad Tree Matrix MathCore)
34
+ ROOT_EXECUTABLE(hadd hadd.cxx LIBRARIES Core RIO Net Hist Graf Graf3d Gpad Tree Matrix MathCore CMAKENOEXPORT )
35
35
set_property (TARGET hadd APPEND_STRING PROPERTY LINK_FLAGS "setargv.obj" )
36
36
else ()
37
- ROOT_EXECUTABLE(hadd hadd.cxx LIBRARIES Core RIO Net Hist Graf Graf3d Gpad Tree Matrix MathCore MultiProc)
37
+ ROOT_EXECUTABLE(hadd hadd.cxx LIBRARIES Core RIO Net Hist Graf Graf3d Gpad Tree Matrix MathCore MultiProc CMAKENOEXPORT )
38
38
if (CMAKE_COMPILER_IS_GNUCC AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 9.0)
39
39
target_link_libraries (hadd stdc++fs)
40
40
endif ()
41
41
endif ()
42
- ROOT_EXECUTABLE(rootnb.exe nbmain.cxx LIBRARIES Core)
42
+ ROOT_EXECUTABLE(rootnb.exe nbmain.cxx LIBRARIES Core CMAKENOEXPORT )
43
43
44
44
#---ReadSpeed-------------------------------------------------------------------------------------
45
- ROOT_EXECUTABLE(rootreadspeed src/readspeed.cxx LIBRARIES RIO Tree TreePlayer ReadSpeed)
45
+ ROOT_EXECUTABLE(rootreadspeed src/readspeed.cxx LIBRARIES RIO Tree TreePlayer ReadSpeed CMAKENOEXPORT )
46
46
47
47
#---CreateHaddCommandLineOptions------------------------------------------------------------------
48
48
generateHeader(hadd
@@ -51,9 +51,9 @@ generateHeader(hadd
51
51
)
52
52
53
53
if (fortran AND CMAKE_Fortran_COMPILER)
54
- ROOT_EXECUTABLE(g2root g2root.f LIBRARIES minicern)
54
+ ROOT_EXECUTABLE(g2root g2root.f LIBRARIES minicern CMAKENOEXPORT )
55
55
set_target_properties (g2root PROPERTIES COMPILE_FLAGS "-w" )
56
- ROOT_EXECUTABLE(h2root h2root.cxx LIBRARIES Core RIO Net Hist Graf Graf3d Gpad Tree Matrix MathCore Thread minicern)
56
+ ROOT_EXECUTABLE(h2root h2root.cxx LIBRARIES Core RIO Net Hist Graf Graf3d Gpad Tree Matrix MathCore Thread minicern CMAKENOEXPORT )
57
57
endif ()
58
58
59
59
file (GLOB utils RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} python/root*)
0 commit comments