Commit aff0f2c3 authored by Nikola Hardi's avatar Nikola Hardi
Browse files

Reorganize the project directory to support cling include paths

parent 84ffbaa9
Pipeline #925068 passed with stage
in 3 minutes and 5 seconds
......@@ -19,28 +19,11 @@ message(STATUS "Using same ROOT CXX flags: ${CMAKE_CXX_FLAGS}")
# This is our library's name
set(LIBNAME JAliEnROOT)
set(SRCS
TJAlienCollection.cxx
TJAlien.cxx
TJAlienDirectory.cxx
TJAlienFile.cxx
TJAlienJDL.cxx
TJAlienJob.cxx
TJAlienJobStatus.cxx
TJAlienJobStatusList.cxx
TJAlienMasterJob.cxx
TJAlienMasterJobStatus.cxx
TJAlienPackage.cxx
TJAlienResult.cxx
TJAlienResultRewriter.cxx
TJAlienSAXHandler.cxx
TJAlienSystem.cxx
TJAlienCredentials.cxx
TJClientFile.cxx
TJAlienDNSResolver.cxx
)
string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${CMAKE_SOURCE_DIR}/inc)
file(GLOB SRCS "src/*.cxx")
string(REPLACE ".cxx" ".h" HDRS "${SRCS}")
string(REPLACE "src" "inc" HDRS "${HDRS}")
include_directories(${LIBNAME} ${OPENSSL_INCLUDE_DIR})
ROOT_GENERATE_DICTIONARY(G__${LIBNAME} "${HDRS}" LINKDEF LinkDef.h)
add_library(${LIBNAME} SHARED "${SRCS}" G__${LIBNAME}.cxx)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment