So I'm still struggling to get an actual installer.
I copied almost the same example from the book:
cmake_minimum_required(VERSION 2.6)
project (Prova)
add_executable(prova a.c)
install(
TARGETS prova RUNTIME DESTINATION bin
)
include(CPack)
cmake does all its job, the package is created without errors with
cpack -G NSIS
or make package
but then windows complain that the file doesn't exist, even if it
actually does and it's not empty.
Now I wonder, are there any compulsory variables for NSIS to get this
working?
And if yes I even tried to run it with --warn-unitialized and it doesn't
say anything, shouldn't it warn
me if I'm trying to use NSIS and I didn't initialize any of the useful
variables?
Thanks,
Andrea
--
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