Skip to content
Snippets Groups Projects
Commit 783cddc4 authored by Oksana Shadura's avatar Oksana Shadura Committed by Vassil Vassilev
Browse files

Remove globbing of Core (#2510)

Remove globbing of header and source files in core.
parent 976b219f
No related branches found
No related tags found
No related merge requests found
Showing
with 495 additions and 67 deletions
......@@ -6,29 +6,215 @@ ROOT_ADD_TEST_SUBDIRECTORY(test)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/res ${CMAKE_CURRENT_SOURCE_DIR}/../foundation/res)
ROOT_GLOB_HEADERS(Base_dict_headers ${CMAKE_CURRENT_SOURCE_DIR}/inc/LinkDef?.h
${CMAKE_CURRENT_SOURCE_DIR}/inc/T*.h
${CMAKE_CURRENT_SOURCE_DIR}/inc/Rtypes.h
${CMAKE_CURRENT_SOURCE_DIR}/inc/Gtypes.h
${CMAKE_CURRENT_SOURCE_DIR}/inc/Riostream.h
${CMAKE_CURRENT_SOURCE_DIR}/inc/GuiTypes.h
${CMAKE_CURRENT_SOURCE_DIR}/inc/MessageTypes.h
${CMAKE_CURRENT_SOURCE_DIR}/inc/KeySymbols.h
${CMAKE_CURRENT_SOURCE_DIR}/inc/Buttons.h
${CMAKE_CURRENT_SOURCE_DIR}/inc/Bytes.h
${CMAKE_CURRENT_SOURCE_DIR}/inc/Byteswap.h
${CMAKE_CURRENT_SOURCE_DIR}/inc/ROOT/TExecutor.hxx
${CMAKE_CURRENT_SOURCE_DIR}/inc/ROOT/TSequentialExecutor.hxx
)
set(Base_dict_headers LinkDef?.h
Rtypes.h
Gtypes.h
GuiTypes.h
Riostream.h
MessageTypes.h
KeySymbols.h
Buttons.h
Bytes.h
Byteswap.h
ROOT/TExecutor.hxx
ROOT/TSequentialExecutor.hxx
TApplication.h
TBrowserImp.h
TException.h
TObject.h
TRefCnt.h
TSystem.h
TVirtualMutex.h
TApplicationImp.h
TBuffer3D.h
TExec.h
TObjectSpy.h
TRef.h
TTask.h
TVirtualPadEditor.h
TAtt3D.h
TBuffer3DTypes.h
TFileCollection.h
TObjString.h
TRegexp.h
TThreadSlots.h
TVirtualPad.h
TAttAxis.h
TBuffer.h
TFileInfo.h
TParameter.h
TRemoteObject.h
TTime.h
TVirtualPadPainter.h
TAttBBox2D.h
TCanvasImp.h
TFolder.h
TPluginManager.h
TROOT.h
TTimer.h
TVirtualPerfStats.h
TAttBBox.h
TColorGradient.h
TGuiFactory.h
TPoint.h
TRootIOCtor.h
TTimeStamp.h
TVirtualPS.h
TAttFill.h
TColor.h
TInetAddress.h
TPRegexp.h
TStopwatch.h
TUri.h
TVirtualQConnection.h
TAttLine.h
TContextMenu.h
TInspectorImp.h
TProcessID.h
TStorage.h
TUrl.h
TVirtualRWMutex.h
TAttMarker.h
TContextMenuImp.h
TMacro.h
TProcessUUID.h
TString.h
TUUID.h
TVirtualTableInterface.h
TAttPad.h
TControlBarImp.h
TMathBase.h
TQClass.h
TStringLong.h
TVersionCheck.h
TVirtualViewer3D.h
TAttText.h
TDatime.h
TMD5.h
TQCommand.h
TStyle.h
TVirtualAuth.h
TVirtualX.h
TBase64.h
TDirectory.h
TMemberInspector.h
TQConnection.h
TSysEvtHandler.h
TVirtualFFT.h
TBenchmark.h
TEnv.h
TMessageHandler.h
TQObject.h
TSystemDirectory.h
TVirtualGL.h
TBrowser.h
TError.h
TNamed.h
TRedirectOutputGuard.h
TSystemFile.h
TVirtualMonitoring.h
)
if(root7)
set(root7src v7/src/*.cxx)
set(Base_v7_dict_headers ${CMAKE_CURRENT_SOURCE_DIR}/v7/inc/ROOT/RDrawable.hxx
${CMAKE_CURRENT_SOURCE_DIR}/v7/inc/ROOT/TDirectoryEntry.hxx
${CMAKE_CURRENT_SOURCE_DIR}/v7/inc/ROOT/TIndexIter.hxx
${CMAKE_CURRENT_SOURCE_DIR}/v7/inc/ROOT/TLogger.hxx
set(root7src v7/src/RDrawable.cxx
v7/src/TLogger.cxx)
set(Base_v7_dict_headers v7/inc/ROOT/RDrawable.hxx
v7/inc/ROOT/TDirectoryEntry.hxx
v7/inc/ROOT/TIndexIter.hxx
v7/inc/ROOT/TLogger.hxx
)
endif()
ROOT_GLOB_SOURCES(sources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/src src/*.cxx ${root7src})
set(sources InitGui.cxx
TApplicationImp.cxx
TAttMarker.cxx
TBuffer3D.cxx
TControlBarImp.cxx
TFileCollection.cxx
TObject.cxx
TProcessUUID.cxx
TRemoteObject.cxx
TSysEvtHandler.cxx
TTimeStamp.cxx
TVirtualMutex.cxx
TVirtualX.cxx
Match.cxx
TAtt3D.cxx
TAttPad.cxx
TBuffer.cxx
TDatime.cxx
TFileInfo.cxx
TMacro.cxx
TObjectSpy.cxx
TQCommand.cxx
TROOT.cxx
TSystem.cxx
TUri.cxx
TVirtualPad.cxx
roota.cxx
TAttAxis.cxx
TAttText.cxx
TCanvasImp.cxx
TDirectory.cxx
TFolder.cxx
TMathBase.cxx
TObjString.cxx
TQConnection.cxx
TStopwatch.cxx
TSystemDirectory.cxx
TUrl.cxx
TVirtualPadEditor.cxx
TAttBBox2D.cxx
TBase64.cxx
TColor.cxx
TEnv.cxx
TGuiFactory.cxx
TMD5.cxx
TParameter.cxx
TQObject.cxx
TStorage.cxx
TSystemFile.cxx
TUUID.cxx
TVirtualPadPainter.cxx
String.cxx
TAttBBox.cxx
TBenchmark.cxx
TColorGradient.cxx
TError.cxx
TInetAddress.cxx
TMemberInspector.cxx
TPluginManager.cxx
TRefCnt.cxx
TString.cxx
TTask.cxx
TVirtualFFT.cxx
TVirtualPerfStats.cxx
Stringio.cxx
TAttFill.cxx
TBrowser.cxx
TContextMenu.cxx
TException.cxx
TInspectorImp.cxx
TMessageHandler.cxx
TPRegexp.cxx
TRef.cxx
TStringLong.cxx
TTime.cxx
TVirtualGL.cxx
TVirtualPS.cxx
TApplication.cxx
TAttLine.cxx
TBrowserImp.cxx
TContextMenuImp.cxx
TExec.cxx
TListOfTypes.cxx
TNamed.cxx
TProcessID.cxx
TRegexp.cxx
TStyle.cxx
TTimer.cxx
TVirtualMonitoring.cxx
TVirtualViewer3D.cxx
${root7src}
)
# libCore is linked against zlib (based on the location returned by find_package or builtin_zlib). The dictionary of
# libCore, G__Core.cxx, should contain the include path to zlib.h in order to keep the symbol and header files in sync.
......@@ -74,4 +260,3 @@ if(GCC_MAJOR EQUAL 4 AND GCC_MINOR EQUAL 1)
set_source_files_properties(src/TString.cxx src/TContextMenu.cxx
COMPILE_FLAGS -Wno-strict-aliasing )
endif()
......@@ -2,15 +2,35 @@
# CMakeLists.txt file for building ROOT core/clib package
############################################################################
set(sources attach.c
detach.c
keys.c
mfree.c
mmapsup.c
mmemalign.c
mmtrace.c
mvalloc.c
snprintf.c
strlcpy.c
Demangle.c
getpagesize.c
mcalloc.c
mmalloc.c
mmcheck.c
mmstats.c
mrealloc.c
sbrksup.c
strlcat.c
)
set(Clib_dict_headers ${CMAKE_CURRENT_SOURCE_DIR}/inc/strlcpy.h
${CMAKE_CURRENT_SOURCE_DIR}/inc/snprintf.h PARENT_SCOPE)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/res)
ROOT_OBJECT_LIBRARY(Clib *.c)
ROOT_OBJECT_LIBRARY(Clib ${sources})
ROOT_INSTALL_HEADERS()
......@@ -5,8 +5,11 @@
# These files depend on cling/clang/llvm; they need to be linked into libCling.
# They are used by rootcling_stage1, rootcling and libCling.
ROOT_GLOB_SOURCES(sources ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cxx)
ROOT_GLOB_HEADERS(headers ${CMAKE_CURRENT_SOURCE_DIR}/inc/*.h)
set(sources TClingUtils.cxx
RStl.cxx
)
set(headers root_std_complex.h
TClingRuntime.h)
set(ClingUtils_dict_headers ${headers} PARENT_SCOPE)
......@@ -152,4 +155,3 @@ else()
COMMENT "Copying LLVM resource and header files")
endif()
add_custom_target(LLVMRES DEPENDS ${stamp_file} CLING)
......@@ -6,9 +6,66 @@ ROOT_ADD_TEST_SUBDIRECTORY(test)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/res ${CMAKE_CURRENT_SOURCE_DIR}/../foundation/res)
ROOT_GLOB_HEADERS(headers ${CMAKE_CURRENT_SOURCE_DIR}/inc/*.h ${CMAKE_CURRENT_SOURCE_DIR}/inc/ROOT/*.hxx)
set(headers ROOT/TSeq.hxx
TArrayC.h
TArrayF.h
TArrayI.h
TArrayL.h
TBits.h
TClassTable.h
TCollection.h
TExMap.h
THashTable.h
TList.h
TObjArray.h
TOrdCollection.h
TRefTable.h
TSortedList.h
TArrayD.h
TArray.h
TArrayL64.h
TArrayS.h
TBtree.h
TClonesArray.h
TCollectionProxyInfo.h
THashList.h
TIterator.h
TMap.h
TObjectTable.h
TRefArray.h
TSeqCollection.h
TVirtualCollectionProxy.h
)
set(sources TArrayC.cxx
TArrayD.cxx
TArrayI.cxx
TArrayL.cxx
TBits.cxx
TClassTable.cxx
TCollection.cxx
THashList.cxx
TIterator.cxx
TMap.cxx
TObjectTable.cxx
TRefArray.cxx
TSeqCollection.cxx
TArray.cxx
TArrayF.cxx
TArrayL64.cxx
TArrayS.cxx
TBtree.cxx
TClonesArray.cxx
TExMap.cxx
THashTable.cxx
TList.cxx
TObjArray.cxx
TOrdCollection.cxx
TRefTable.cxx
TSortedList.cxx
)
set(Cont_dict_headers ${headers} PARENT_SCOPE)
ROOT_OBJECT_LIBRARY(Cont *.cxx)
ROOT_OBJECT_LIBRARY(Cont ${sources})
ROOT_INSTALL_HEADERS()
......@@ -8,7 +8,17 @@
# These files are linked into rootcling_stage1 and libCling. rootcling accesses
# them through rootcling_impl.
ROOT_GLOB_SOURCES(sources ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cxx)
set(sources src/BaseSelectionRule.cxx
src/ClassSelectionRule.cxx
src/DictSelectionReader.cxx
src/LinkdefReader.cxx
src/rootcling_impl.cxx
src/Scanner.cxx
src/SelectionRules.cxx
src/TModuleGenerator.cxx
src/VariableSelectionRule.cxx
src/XMLReader.cxx
)
ROOT_OBJECT_LIBRARY(Dictgen
${sources}
......
......@@ -2,16 +2,23 @@
# CMakeLists.txt file for building ROOT core/foundation package
############################################################################
ROOT_GLOB_SOURCES(sources ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cxx)
ROOT_GLOB_HEADERS(headers_h ${CMAKE_CURRENT_SOURCE_DIR}/inc/*.h)
ROOT_GLOB_HEADERS(headers_hxx ${CMAKE_CURRENT_SOURCE_DIR}/inc/ROOT/*.hxx)
set(headers ${headers_h} ${headers_hxx})
list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/inc/ROOT/libcpp_string_view.h)
list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/inc/ROOT/RWrap_libcpp_string_view.h)
set(headers ESTLType.h
RStringView.h
TClassEdit.h
ROOT/RIntegerSequence.hxx
ROOT/RMakeUnique.hxx
ROOT/RNotFn.hxx
ROOT/RSpan.hxx
ROOT/RStringView.hxx
ROOT/span.hxx
ROOT/TypeTraits.hxx
)
set(sources src/RConversionRuleParser.cxx
src/TClassEdit.cxx
)
set(Foundation_dict_headers ${headers} PARENT_SCOPE)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/res)
ROOT_OBJECT_LIBRARY(Foundation ${sources})
......
......@@ -3,7 +3,7 @@
############################################################################
set(headers ROOT/TTaskGroup.hxx)
set(sources base.cxx TTaskGroup.cxx)
set(sources src/base.cxx src/TTaskGroup.cxx)
if (imt)
include_directories(SYSTEM ${TBB_INCLUDE_DIRS})
......
find_package(LZ4 REQUIRED)
find_package(xxHash REQUIRED)
ROOT_GLOB_HEADERS(headers inc/ZipLZ4.h)
ROOT_GLOB_SOURCES(sources src/ZipLZ4.cxx)
set(headers inc/ZipLZ4.h)
set(sources src/ZipLZ4.cxx)
ROOT_OBJECT_LIBRARY(Lz4 ${sources})
target_include_directories(Lz4 PRIVATE ${LZ4_INCLUDE_DIR} ${xxHash_INCLUDE_DIR})
......
......@@ -7,8 +7,8 @@
# in cmake/modules/SearchInstalledSoftare.cmake
#---Declare ZipLZMA sources as part of libCore-------------------------------
set(headers ${CMAKE_CURRENT_SOURCE_DIR}/inc/ZipLZMA.h)
set(sources ${CMAKE_CURRENT_SOURCE_DIR}/src/ZipLZMA.c)
set(headers inc/ZipLZMA.h)
set(sources src/ZipLZMA.c)
include_directories(${LZMA_INCLUDE_DIR})
......
......@@ -2,8 +2,10 @@
# CMakeLists.txt file for building ROOT core/macosx package
############################################################################
ROOT_GLOB_SOURCES(sources ${CMAKE_CURRENT_SOURCE_DIR}/src/*.mm)
ROOT_GLOB_SOURCES(headers ${CMAKE_CURRENT_SOURCE_DIR}/inc/T*.h)
set(sources src/CocoaUtils.mm
src/TMacOSXSystem.mm
)
set(headers TMacOSXSystem.h)
set(Macosx_dict_headers ${headers} PARENT_SCOPE)
......
......@@ -2,8 +2,87 @@
# CMakeLists.txt file for building ROOT core/meta package
############################################################################
ROOT_GLOB_FILES(sources ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cxx)
ROOT_GLOB_FILES(headers FILTER "(LinkDef|RootMetaSelection.h)" ${CMAKE_CURRENT_SOURCE_DIR}/inc/*.h)
set(headers TClass.h
TDataMember.h
TEnumConstant.h
TFunctionTemplate.h
TInterpreterValue.h
TListOfEnumsWithLock.h
TMethodArg.h
TRealData.h
TStatusBitsChecker.h
TToggle.h
TClassMenuItem.h
TDataType.h
TEnum.h
TGenericClassInfo.h
TIsAProxy.h
TListOfFunctions.h
TMethodCall.h
TSchemaHelper.h
TStreamerElement.h
TVirtualIsAProxy.h
TBaseClass.h
TClassRef.h
TDictAttributeMap.h
TFileMergeInfo.h
TGlobal.h
TListOfDataMembers.h
TListOfFunctionTemplates.h
TMethod.h
TSchemaRule.h
TStreamer.h
TVirtualRefProxy.h
TClassGenerator.h
TClassStreamer.h
TDictionary.h
TFunction.h
TInterpreter.h
TListOfEnums.h
TMemberStreamer.h
TProtoClass.h
TSchemaRuleSet.h
TToggleGroup.h
TVirtualStreamerInfo.h
)
set(sources src/TBaseClass.cxx
src/TClassRef.cxx
src/TEnumConstant.cxx
src/TGlobal.cxx
src/TListOfEnumsWithLock.cxx
src/TMethod.cxx
src/TStatusBitsChecker.cxx
src/TDataMember.cxx
src/TEnum.cxx
src/TInterpreter.cxx
src/TListOfFunctions.cxx
src/TProtoClass.cxx
src/TStreamerElement.cxx
src/TViewPubFunctions.cxx
src/TClass.cxx
src/TDataType.cxx
src/TFunction.cxx
src/TIsAProxy.cxx
src/TListOfFunctionTemplates.cxx
src/TRealData.cxx
src/TToggle.cxx
src/TClassGenerator.cxx
src/TDictAttributeMap.cxx
src/TFunctionTemplate.cxx
src/TListOfDataMembers.cxx
src/TMethodArg.cxx
src/TSchemaRule.cxx
src/TToggleGroup.cxx
src/TVirtualStreamerInfo.cxx
src/TClassMenuItem.cxx
src/TDictionary.cxx
src/TGenericClassInfo.cxx
src/TListOfEnums.cxx
src/TMethodCall.cxx
src/TSchemaRuleSet.cxx
src/TViewPubDataMembers.cxx
)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/res ${CMAKE_CURRENT_SOURCE_DIR}/../foundation/res)
......
# TInterpreter implementation for cling. Only in libCling; needs to resolve
# symbols from libCore.
ROOT_GLOB_SOURCES(sources ${CMAKE_CURRENT_SOURCE_DIR}/*.cxx)
set(sources rootclingTCling.cxx
TClingDataMemberInfo.cxx
TClingBaseClassInfo.cxx
TClingCallbacks.cxx
TClingCallFunc.cxx
TClingClassInfo.cxx
TCling.cxx
TClingMethodArgInfo.cxx
TClingMethodInfo.cxx
TClingTypedefInfo.cxx
TClingTypeInfo.cxx
TClingValue.cxx
)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../res
${CMAKE_CURRENT_SOURCE_DIR}/../../clingutils/res
......
......@@ -2,9 +2,19 @@
# CMakeLists.txt file for building ROOT core/multiproc package
############################################################################
set(headers TMPClient.h MPSendRecv.h ROOT/TProcessExecutor.hxx TProcPool.h TMPWorker.h TMPWorkerExecutor.h MPCode.h PoolUtils.h)
set(headers TMPClient.h
MPSendRecv.h
ROOT/TProcessExecutor.hxx
TProcPool.h
TMPWorker.h
TMPWorkerExecutor.h
MPCode.h
PoolUtils.h)
set(sources TMPClient.cxx MPSendRecv.cxx TProcessExecutor.cxx TMPWorker.cxx)
set(sources src/TMPClient.cxx
src/MPSendRecv.cxx
src/TProcessExecutor.cxx
src/TMPWorker.cxx)
ROOT_STANDARD_LIBRARY_PACKAGE(MultiProc
OBJECT_LIBRARY
......
......@@ -2,8 +2,10 @@
# CMakeLists.txt file for building ROOT core/newdelete package
############################################################################
set(sources src/MemCheck.cxx
src/NewDelete.cxx
)
include_directories(${CMAKE_SOURCE_DIR}/core/clib/res)
ROOT_LINKER_LIBRARY(New *.cxx DEPENDENCIES Core)
ROOT_LINKER_LIBRARY(New ${sources} DEPENDENCIES Core)
ROOT_INSTALL_HEADERS()
......@@ -2,10 +2,24 @@
# CMakeLists.txt file for building ROOT core/textinout package
############################################################################
ROOT_GLOB_SOURCES(sources ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cxx
${CMAKE_CURRENT_SOURCE_DIR}/src/textinput/*.cpp)
ROOT_GLOB_HEADERS(headers ${CMAKE_CURRENT_SOURCE_DIR}/inc/*.h)
set(sources src/Getline_color.cxx
src/Getline.cxx
src/textinput/Editor.cpp
src/textinput/Range.cpp
src/textinput/StreamReaderUnix.cpp
src/textinput/TerminalDisplay.cpp
src/textinput/TextInputContext.cpp
src/textinput/History.cpp
src/textinput/SignalHandler.cpp
src/textinput/StreamReaderWin.cpp
src/textinput/TerminalDisplayUnix.cpp
src/textinput/TextInput.cpp
src/textinput/KeyBinding.cpp
src/textinput/StreamReader.cpp
src/textinput/TerminalConfigUnix.cpp
src/textinput/TerminalDisplayWin.cpp
)
set(headers Getline.h)
set(TextInput_dict_headers ${headers} PARENT_SCOPE)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src)
......
......@@ -4,10 +4,24 @@
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../foundation/res)
set(headers TAtomicCount.h TCondition.h TConditionImp.h TMutex.h TMutexImp.h
TRWLock.h ROOT/TRWSpinLock.hxx TSemaphore.h TThread.h TThreadFactory.h
TThreadImp.h ROOT/TThreadedObject.hxx TThreadPool.h
ThreadLocalStorage.h ROOT/TSpinMutex.hxx ROOT/TReentrantRWLock.hxx ROOT/RConcurrentHashColl.hxx)
set(headers TAtomicCount.h
TCondition.h
TConditionImp.h
TMutex.h
TMutexImp.h
TRWLock.h
TSemaphore.h
TThread.h
TThreadFactory.h
TThreadImp.h
TThreadPool.h
ThreadLocalStorage.h
ROOT/TSpinMutex.hxx
ROOT/TThreadedObject.hxx
ROOT/TReentrantRWLock.hxx
ROOT/RConcurrentHashColl.hxx
ROOT/TRWSpinLock.hxx
)
if(NOT WIN32)
set(headers ${headers} TPosixCondition.h TPosixMutex.h
TPosixThread.h TPosixThreadFactory.h PosixThreadInc.h)
......@@ -18,9 +32,20 @@ else()
set(installoptions FILTER "Posix")
endif()
set(sources TCondition.cxx TConditionImp.cxx TMutex.cxx TMutexImp.cxx
TRWLock.cxx TRWSpinLock.cxx TSemaphore.cxx TThread.cxx TThreadFactory.cxx
TThreadImp.cxx TRWMutexImp.cxx TReentrantRWLock.cxx RConcurrentHashColl.cxx)
set(sources src/TCondition.cxx
src/TConditionImp.cxx
src/TMutex.cxx
src/TMutexImp.cxx
src/TRWLock.cxx
src/TRWSpinLock.cxx
src/TSemaphore.cxx
src/TThread.cxx
src/TThreadFactory.cxx
src/TThreadImp.cxx
src/TRWMutexImp.cxx
src/TReentrantRWLock.cxx
src/RConcurrentHashColl.cxx
)
if(NOT WIN32)
set(sources ${sources} TPosixCondition.cxx TPosixMutex.cxx
TPosixThread.cxx TPosixThreadFactory.cxx)
......
......@@ -2,12 +2,13 @@
# CMakeLists.txt file for building ROOT core/unix package
############################################################################
ROOT_GLOB_SOURCES(sources ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cxx)
set(sources src/TUnixSystem.cxx)
set(Unix_dict_headers ${CMAKE_CURRENT_SOURCE_DIR}/inc/TUnixSystem.h PARENT_SCOPE)
include_directories(${CMAKE_SOURCE_DIR}/net/net/inc
${CMAKE_SOURCE_DIR}/core/clib/res)
ROOT_OBJECT_LIBRARY(Unix ${sources})
ROOT_INSTALL_HEADERS()
......@@ -2,9 +2,11 @@
# CMakeLists.txt file for building ROOT core/winnt package
############################################################################
ROOT_GLOB_SOURCES(sources ${CMAKE_CURRENT_SOURCE_DIR}/src/*.cxx)
set(sources src/TWin32SplashThread.cxx
src/TWinNTSystem.cxx
src/Win32Splash.cxx)
set(Winnt_dict_headers ${CMAKE_CURRENT_SOURCE_DIR}/inc/TWinNTSystem.h PARENT_SCOPE)
set(Winnt_dict_headers ${CMAKE_CURRENT_SOURCE_DIR}/inc/TWinNTSystem.h PARENT_SCOPE)
include_directories(${CMAKE_SOURCE_DIR}/net/net/inc)
......
find_package(ZLIB REQUIRED)
ROOT_GLOB_HEADERS(headers
set(headers
inc/Compression.h
inc/RZip.h
)
ROOT_GLOB_SOURCES(sources
set(sources
src/Bits.c
src/ZDeflate.c
src/ZTrees.c
......
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