Hi, for clarification, INSTALL puts all the stuff (libraries, executables, files, etc. marked to be installed by the CMake install(...) command) in a directory specified by the CMAKE_INSTALL_PREFIX variable.
PACKAGE is essentially the same as INSTALL, with a custom install prefix (<build_dir>/_CPack_Packages/...) together with some packaging tool specific post-processing (i.e. just zipping the directory for the ZIP package generator). Hope this helps, Sascha On 08/24/2011 07:48 PM, Miklos Espak wrote: > On Wed, Aug 24, 2011 at 7:44 PM, Miklos Espak<[email protected]> wrote: >> On Wed, Aug 24, 2011 at 7:08 PM, ANIND DUTTAROY<[email protected]> >> wrote: >>> Obviously, I double-clicked on the .exe file on Windows :) I think I have >>> this much common sense, knowledge and experience :) >>> >>> to know the difference between double clicking on a .exe file and .bat file >>> on Windows. >> Yes, but I suggested just the opposite. ;-) >> >> I have just built my app on Windows, and then I built the PACKAGE project. >> >> These work for me: >> - the batch file from the "bin" directory >> - the exe file from the _CPack_Packages\win32\NSIS\MyApp...\bin directory >> - the exe file from the _CPack_Packages\win32\ZIP\MyApp...\bin directory >> >> These does not (and should not) work: >> - the exe from the bin\Release directory >> >> I guess, the INSTALL copies the binaries somewhere else, so I suggest >> either to use the batch file, or to find where the INSTALL puts the >> binaries, or to build the PACKAGE project. > I am building now the INSTALL project. As I see, it puts the binaries > into the CMakeExternals\Install\bin directory. > You could also try to run the exe from there. > > Miklos > > ------------------------------------------------------------------------------ > EMC VNX: the world's simplest storage, starting under $10K > The only unified storage solution that offers unified management > Up to 160% more powerful than alternatives and 25% more efficient. > Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev > _______________________________________________ > mitk-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mitk-users ------------------------------------------------------------------------------ EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
