[CMake] CMake + NSIS on windows

Andrea Crotti andrea.crotti.0 at gmail.com
Wed Jan 25 09:44:24 EST 2012


On 01/25/2012 02:28 PM, Andrea Crotti wrote:
> Since I still don't get CMake + NSIS running on Linux, I was trying to 
> build my software
> on Windows...
>
> I installed CMake and NSIS and all my CMake actually does is to create 
> an installer:
>
> cmake_minimum_required(VERSION 2.6)
> project(try_out)
> install(
>   # is this automatically the source dir??
>   DIRECTORY one two
>   DESTINATION test_ddest
>   COMPONENT dirs
>   )
> include(CPack)

Ok I think I understood by myself, I just need to set
project(try_out NONE) to avoid checks of any language and it
doesn't complain anymore..


More information about the CMake mailing list