Revision 4dd039267ccac211f7feaf47460574ed594d15a0 authored by Gerardo Ganis on 28 February 2015, 16:12:32 UTC, committed by Gerardo Ganis on 28 February 2015, 16:14:38 UTC
1 parent cba2c56
Raw File
CMakeLists.txt
############################################################################
# CMakeLists.txt file for building ROOT cint/cintex package
############################################################################

ROOT_USE_PACKAGE(cint/reflex)
ROOT_USE_PACKAGE(core/metautils)
ROOT_USE_PACKAGE(core/thread)

#---Cintex library----------------------------------------------------------
ROOT_LINKER_LIBRARY(Cintex *.cxx LIBRARIES Core DEPENDENCIES Reflex)  
ROOT_GENERATE_ROOTMAP(Cintex LINKDEF LinkDef.h DEPENDENCIES Reflex)

#---Install python modules--------------------------------------------------
install(FILES python/PyCintex.py DESTINATION ${runtimedir})
install(CODE "execute_process(COMMAND python -m py_compile \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${runtimedir}/PyCintex.py )")
install(CODE "execute_process(COMMAND python -O -m py_compile \$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/${runtimedir}/PyCintex.py )")

#---install headers----------------------------------------------------------
ROOT_INSTALL_HEADERS()  
back to top