added preinstall script

This commit is contained in:
Philippe Tillet
2015-01-26 00:56:02 -05:00
parent 6d7f103ab1
commit 909e4b16a0
6 changed files with 42 additions and 30 deletions

View File

@@ -11,4 +11,4 @@ add_custom_command(OUTPUT ${OUTPUT}
COMMAND ${CMAKE_COMMAND} -E touch ${OUTPUT}
DEPENDS atidlas ${PYATIDLAS_SRC} ${PYATIDLAS_PYSRC} ${SETUP_PY})
add_custom_target(pyatidlas ALL DEPENDS ${OUTPUT})
install(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install)")
#install(CODE "execute_process(COMMAND ${PYTHON} ${SETUP_PY} install)")