2009/3/9 David Fitzpatrick <fitzpatr...@stellarscience.com>:
> I have been working with CMake/CPack (2.6.2 and 2.6.3) for a few weeks now
> and have run into a problem with creating a binary distro using Cpack and
> NSIS. I would like to set a flag to remove all source code from the
> installer and have no success using the CPACK_SOURCE_IGNORE_FILES variable.

CPACK_SOURCE_IGNORE_FILES is the variables used to ignore files
usually bundled in "SOURCE package"

if you want to ignore files in a BINARY package you should use

CPACK_SOURCE_FILES

> And I still get files included in the installer...

try with CPACK_SOURCE_FILES


> Is it possible that the install( directory ... ) command and the
> ignore_files variable do not work together?
>
> This is a quick snippit of one of my install() commands that pulls
> directories:
>  INSTALL( DIRECTORY
> "${STELLAR_SANDBOX}/${CPACK_COMPONENT_${componentToInstall}_LOCATION}"
>   DESTINATION "${CPACK_COMPONENT_${componentToInstall}_LOCATION}/../"
>   COMPONENT "DevSource"
>   PATTERN ".svn" EXCLUDE )
>
> I know I could glob the different types of source together set the component
> to "DevSource_h" or the likes and then just not add it to the install_list
> but that will be allot more work...

I am a bit puzzled with your INSTALL command...

What are you doing with this?


-- 
Erk
_______________________________________________
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

Reply via email to