[CMake] cpack and post install scripts

Clinton Stimpson clinton at elemtech.com
Wed May 10 11:15:56 EDT 2006


Ok, attached is a python embedded hello world app.  A post install 
script installs python.
"make install" runs the post install script, and the python library & 
support files are copied.
"make package" / "cpack -G TGZ" don't seem to, as the python library 
don't show up in the package.
Clint

Andy Cedilnik wrote:
> Hi Clint,
>
> Example would be great.
>
>       Andy
>
> Clinton Stimpson wrote:
>>
>> CPack misses the 3rd party libraries that I'm using the post install 
>> scripts to install.
>> So for instance, when doing "make install", it would include the 
>> python that the application was built with, which is outside of the 
>> build tree.
>> CPack misses those install files/libs that are outside the build tree.
>> If you need, I can write up an example.
>> Clint
>>
>> Andy Cedilnik wrote:
>>
>>> Hi Clint,
>>>
>>> CPack runs the cmake_install.cmake script, so if there are any 
>>> post-install scripts there, they should get executed. What do your 
>>> post-install scripts looks like?
>>>
>>>       Andy
>>>
>>> Clinton Stimpson wrote:
>>>
>>>> So it seems that CPack doesn't run the post install scripts?
>>>> Is it supposed to?
>>>>
>>>> Clint
>>>>
>>>> _______________________________________________
>>>> CMake mailing list
>>>> CMake at cmake.org
>>>> http://www.cmake.org/mailman/listinfo/cmake
>>>
>>>
>>>
>>
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PyHelloWorld.tar.gz
Type: application/x-gzip
Size: 1383 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20060510/6fb99ca2/PyHelloWorld.tar.bin


More information about the CMake mailing list