Looks like the "help = true; / help = false;" chunk of this commit is responsible:
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=c6a016944211b737c45385423fc7df10462e34ab#patch6 Eric, do you have time to take a look at this today, or should I put this on my list to try to restore the 2.8.7 behavior in time for 2.8.9-rc2? Thanks, David On Tue, Jul 3, 2012 at 7:56 AM, NoRulez <[email protected]> wrote: > Because of the long time... this was because first I thought it was my > fault. > > It would be great if the old behavior could be restored. > > Best Regards > > Am 03. Juli 2012 um 13:35 schrieb David Cole <[email protected]>: > > > Looks like we let the default command line behavior get trounced when > we added the new cpack --help* stuff... Guess we don't have a test for > that. > > To loop over all configure CPack generators, you can still use the command > line: > > cpack -C CPackConfig.cmake > > But: > > cpack > > just by itself simply spits out the help text now. > > Should we put it back to the way it was in 2.8.7, or should we leave > it the way it is now in 2.8.8? > > Seems like 3 months is a pretty long time before anybody noticed a > change in behavior like this one. > > > Thanks for the report. And further comments will be appreciated. > > David > > > On Tue, Jul 3, 2012 at 4:28 AM, NoRulez <[email protected]> wrote: >> Hello, >> >> i've upgraded my cmake installation from 2.8.7 to 2.8.8. After the upgrade >> the cpack has an unwanted behavior. >> >> When i run cpack from the build directory (in cpack 2.8.7) then cpack >> iterates over all configured CPACK_GENERATORs and creates the >> installer/archives. >> But with cpack 2.8.8 I get only the options from cpack. >> Is this a bug or did I need to configure something else in 2.8.8? >> >> cpack version 2.8.8 >> Usage >> >> cpack -G <generator> [options] >> >> Options >> -G <generator> = Use the specified generator to generate >> package. >> -C <Configuration> = Specify the project configuration >> -D <var>=<value> = Set a CPack variable. >> --config <config file> = Specify the config file. >> --verbose,-V = enable verbose output >> --debug = enable debug output (for CPack developers) >> -P <package name> = override/define CPACK_PACKAGE_NAME >> -R <package version> = override/define CPACK_PACKAGE_VERSION >> -B <package directory> = override/define CPACK_PACKAGE_DIRECTORY >> --vendor <vendor name> = override/define CPACK_PACKAGE_VENDOR >> --help-command cmd [file] = Print help for a single command and exit. >> --help-command-list [file] = List available commands and exit. >> --help-commands [file] = Print help for all commands and exit. >> --help-variable var [file] = Print help for a single variable and exit. >> --help-variable-list [file] = List documented variables and exit. >> --help-variables [file] = Print help for all variables and exit. >> --copyright [file] = Print the CMake copyright and exit. >> --help,-help,-usage,-h,-H,/?= Print usage information and exit. >> --help-full [file] = Print full help and exit. >> --help-html [file] = Print full help in HTML format. >> --help-man [file] = Print full help as a UNIX man page and >> exit. >> --version,-version,/V [file]= Show program name/version banner and exit. >> >> Generators >> NSIS = Null Soft Installer >> STGZ = Self extracting Tar GZip compression >> TBZ2 = Tar BZip2 compression >> TGZ = Tar GZip compression >> TZ = Tar Compress compression >> ZIP = ZIP file format >> >> Best Regards >> NoRulez >> >> -- >> >> 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 -- 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
