Hi All,
I've been using CMake for a little while now, but not with python.
I have something like this in my CMakeLists.txt file...
message(STATUS " ${III} Loading FUNCWIRE_MINION...")
if(ENABLE_FUNCWIRE_MINION)
message(STATUS " ${GGG} Python build...")
execute_process(COMMAND cd ${CMAKE_SOURCE_DIR}/funcwire-minion/ &&
${PYTHON} setup.py build)
endif(ENABLE_FUNCWIRE_MINION)
install(CODE "EXECUTE_PROCESS(COMMAND cd
${CMAKE_SOURCE_DIR}/funcwire-minion/ && ${PYTHON} setup.py install)")
...however it doesn't quite work, before putting too much work into finding
what the problem is, could someone point out if I'm even on the right track,
or if there is a better way to do this?
Nima
--
Nima Talebi
http://ai.autonomy.net.au/
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake