Re: [CMake] installing python scripts

2012-07-31 Thread Kyle Husmann
> Call CONFIGURE_FILE() twice, once for the installation > and once for the build-tree: Thanks, Michael! That's what I was looking for! Kyle -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topi

Re: [CMake] installing python scripts

2012-07-29 Thread Michael Wild
On 07/30/2012 02:15 AM, Kyle Husmann wrote: > Hi all, > > In my project I have a python program (call it program.py) that > references a python module also in my project (call it pymodule). > program.py gets installed to ${CMAKE_INSTALL_PREFIX}/bin/program and > pymodule gets installed to ${PYTHON

[CMake] installing python scripts

2012-07-29 Thread Kyle Husmann
Hi all, In my project I have a python program (call it program.py) that references a python module also in my project (call it pymodule). program.py gets installed to ${CMAKE_INSTALL_PREFIX}/bin/program and pymodule gets installed to ${PYTHON_INSTALL_DIR}. To make sure the program.py program alwa