[CMake] CPack using Inno Setup compilation scripts ?

2013-08-12 Thread Nitentore Tentyris
Hi folks,

(hope this post does not double up with an existing one ; I tried to check
past posts in the archives but did not find any)

I have this existing project on Windows (only) that require some automatic
packaging - the current procedure is a painful doc to read and follow with
multiple steps -- prone to error.

From the CPack documentation, I see that it could really help me on this
task.

Among various things, one of the final step of the current procedure is to
execute an InnoSetup compilation script (the step that generates a package
- not the step consisting of executing an install). This inno setup script
is not trivial and contains quite a lot of work, so I really do not want to
'redo' this part, I just want to use it.

I've got some little experience with cmake, ctest and cdash. I have got lib
and exe svn-updated, built, tested and reported to cdash every night and
then, but I did not do anything with cpack (yet)... thought it was a good
way to start :).
Some sub-part / sub-tree of the project are already using cmake.

My question:
I have read that cpack works with NSIS... but how does it stand with
InnoSetup ??? Could not find in the docs and in my google searches any
positive insight on how to make my InnoSetup compilation script to work
with CPack.
Maybe I missed an article or a paragraph in the docs. Any pointers ?

Otherwise my fallback position will be to script everything with some
higher level batch file (argh!).

Thanks in advance for your advices.

Cheers;
Nit.
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] CPack using Inno Setup compilation scripts ?

2013-08-12 Thread Nicolas Desprès
Hi,

I am afraid you will have to write a new generator for cpack. It is not as
hard as it sound but you will have to write C++ code. That would be great
if cpack could support inno setup since it is much easier to hack inno
setup script than NSIS script.

Cheers,
-Nico



On Monday, August 12, 2013, Nitentore Tentyris wrote:

 Hi folks,

 (hope this post does not double up with an existing one ; I tried to check
 past posts in the archives but did not find any)

 I have this existing project on Windows (only) that require some automatic
 packaging - the current procedure is a painful doc to read and follow with
 multiple steps -- prone to error.

 From the CPack documentation, I see that it could really help me on this
 task.

 Among various things, one of the final step of the current procedure is to
 execute an InnoSetup compilation script (the step that generates a package
 - not the step consisting of executing an install). This inno setup script
 is not trivial and contains quite a lot of work, so I really do not want to
 'redo' this part, I just want to use it.

 I've got some little experience with cmake, ctest and cdash. I have got
 lib and exe svn-updated, built, tested and reported to cdash every night
 and then, but I did not do anything with cpack (yet)... thought it was a
 good way to start :).
 Some sub-part / sub-tree of the project are already using cmake.

 My question:
 I have read that cpack works with NSIS... but how does it stand with
 InnoSetup ??? Could not find in the docs and in my google searches any
 positive insight on how to make my InnoSetup compilation script to work
 with CPack.
 Maybe I missed an article or a paragraph in the docs. Any pointers ?

 Otherwise my fallback position will be to script everything with some
 higher level batch file (argh!).

 Thanks in advance for your advices.

 Cheers;
 Nit.



-- 
Nicolas Desprès
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake