<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>Hi</div>
<div>&nbsp;</div>
<div>I am trying to make my first installer of my already working cmake application but I have the problem that no output is done by CMake. I have installed NSIS, whereby my CMake flags in GUI are:</div>
<div>CPACK_BINARY_NSIS is true, CPACK_BINARY_ZIP is false and CPACK_SOURCE_ZIP is true</div>
<div>&nbsp;</div>
<div>My CMake script looks like this:</div>
<div>&nbsp;</div>
<div>SET(Srcs MySource.cpp )</div>
<div>&nbsp;</div>
<div>INCLUDE_DIRECTORIES( </div>
<div>${CMAKE_CURRENT_BINARY_DIR} </div>
<div>)</div>
<div>&nbsp;</div>
<div>ADD_EXECUTABLE( MyApp ${ Srcs _Srcs})</div>
<div>&nbsp;</div>
<div>TARGET_LINK_LIBRARIES(MyApp</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MyLib</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )</div>
<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
<div>install( </div>
<div>TARGETS MyApp</div>
<div>RUNTIME</div>
<div>DESTINATION bin</div>
<div>COMPONENT applications</div>
<div>&nbsp;&nbsp; ) </div>
<div>&nbsp;</div>
<div>set(CPACK_PACKAGE_NAME &quot; MyApp &quot;)</div>
<div>set(CPACK_PACKAGE_VENDOR &quot;<a href="http://www.joanneum.at">www.joanneum.at</a>&quot;)</div>
<div>set(CPACK_PACKAGE_DESCRIPTION_SUMMARY &quot; MyApp - Installation&quot;)</div>
<div>set(CPACK_PACKAGE_VERSION &quot;1.0.0&quot;)</div>
<div>set(CPACK_PACKAGE_VERSION_MAJOR &quot;1&quot;)</div>
<div>set(CPACK_PACKAGE_VERSION_MINOR &quot;0&quot;)</div>
<div>set(CPACK_PACKAGE_VERSION_PATCH &quot;0&quot;)</div>
<div>set(CPACK_PACKAGE_INSTALL_DIRECTORY &quot; MyApp &quot;)</div>
<div>&nbsp;</div>
<div>set(CPACK_COMPONENTS_ALL applications libraries headers)</div>
<div>set(CPACK_COMPONENT_APPLICATIONS_DISPLAY_NAME &quot; MyApp Application&quot;)</div>
<div>set(CPACK_COMPONENT_LIBRARIES_DISPLAY_NAME &quot;Libraries&quot;)</div>
<div>set(CPACK_COMPONENT_HEADERS_DISPLAY_NAME &quot;C&#43;&#43; Headers&quot;)</div>
<div>set(CPACK_COMPONENT_APPLICATIONS_DESCRIPTION &quot; MyApp executable&quot;)</div>
<div>set(CPACK_COMPONENT_LIBRARIES_DESCRIPTION &quot;Libraries used by MyApp&quot;)</div>
<div>set(CPACK_COMPONENT_HEADERS_DESCRIPTION &quot;C/C&#43;&#43; header files&quot;)</div>
<div>&nbsp;</div>
<div>include(CPack)</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>When I configure and generate I run without errors, when I look into my visual studio there are no changes visible. When I look into the binary directory there is also no installer found, also no *.nsi file which could be opened by NSIS. So how could I
generate a exe ? Thanks for help&#8230;</div>
<div>&nbsp;</div>
<div>Gerald</div>
<div>&nbsp;</div>
</font>
</body>
</html>