Commit Graph

46 Commits

Author SHA1 Message Date
Brad King b41a548d86 Add parentheses around '&&' between '||' for gcc
The GNU compiler warns about possible operator precedence mistakes and
asks for explicit parentheses (-Wparentheses).  We add the parentheses
to silence the warning.  This also fixes one real logic error in the
find_package() implementation by correcting expression evaluation order.
2009-09-11 08:18:15 -04:00
David Cole 6bf31875ce BUG: Fix issue #8383. Avoid crashing when using the Bundle CPack generator and CPACK_BUNDLE_NAME is not set. Instead, fail gracefully giving an informative error message and non-zero exit code. 2009-01-22 13:56:13 -05:00
Bill Hoffman d31c890220 ENH: missed one 2008-09-24 10:01:32 -04:00
David Cole e7948f89f9 COMP: auto_ptr will not compile without including memory on some platforms 2008-04-18 10:55:04 -04:00
David Cole 968706b29e BUG: Fix mem leak. Thanks, Mathieu. 2008-04-17 12:06:20 -04:00
Brad King 9f61e2a235 ENH: Centralized and globalized computation of CMake program locations. This eliminates startup paths that failed to produce this information. 2007-12-13 17:56:50 -05:00
Bill Hoffman 33478faeb6 ENH: changne ProcessGenertor to DoPackage 2007-11-06 08:28:26 -05:00
Bill Hoffman 743cec67d5 ENH: change name 2007-11-05 16:55:45 -05:00
Bill Hoffman 62decc533b ENH: change name of class 2007-11-05 16:33:19 -05:00
Ken Martin 6cdf032505 ENH: change to make the documentation class more generic, about halfway there, also provides secitons for Variables now 2007-10-22 12:49:09 -04:00
Ken Martin 35e13b11f3 BUG: revert doc changes since VS7 cannot compile them, will implement them in a different manner 2007-10-09 14:35:25 -04:00
Ken Martin 18ce24c748 ENH: make documentation entries actually store their data 2007-10-09 09:55:42 -04:00
Alexander Neundorf 68674bd0d7 ENH: better error messages from the debian package generator
-don't display the cpack help if a generator failed with some problem
-check for cmSystemTools::GetErrorOccuredFlag()

Alex
2007-08-03 15:26:30 -04:00
Bill Hoffman 2745742e09 STYLE: fix some kwstyle errors 2007-07-27 10:55:24 -04:00
Alexander Neundorf d6a0c330bc ENH: deb generator can now generate deb packages
-remove the unscriptable commands also from the cpack cmake
-use CPACK_PACKAGE_CONTACT in CMakeCPack.cmake, it's used in the nsis and
the deb generator
-make set_properties() scriptable
-use a non-const char array for adding the python modules

Alex
2007-07-27 08:59:59 -04:00
Alexander Neundorf 0ea4c7b784 STYLE: fix line lengths
Alex
2007-07-26 08:40:51 -04:00
Alexander Neundorf 8a6e2bb81d ENH: determine the current system also in cpack, so the search paths are
loaded
Additionally the makefile in cmCPackGenericGenerator is now protected
instead of private, so with these two changes the cpack generators should
now be able to find their tools and how to call these tools from cmake
scripts, instead of hardcoding the search order and command line (as done
e.g. in cmCPackZIPGenerator.cxx)

Alex
2007-07-24 10:00:26 -04:00
Alexander Neundorf 8c77fe55dc STYLE: fix some typos, nicer debug output
Alex
2007-07-19 11:13:01 -04:00
Alexander Neundorf d64dc9b5bb COMP: force a recompile on VS71
Alex
2007-05-18 11:45:18 -04:00
Brad King 4d6435f5f3 STYLE: Fixed line-too-long. 2006-10-17 09:34:07 -04:00
Andy Cedilnik e31dc3abe5 ENH: Several CPack fixes. First, allow user to set CMAKE_MODULE_PATH for CPack; make SetOptionIfNotSet more robust to handle empty options; do test TGZ, STGZ, and TZ, Add handling (and test) of Install Script; set environment variable CMAKE_INSTALL_PREFIX 2006-10-12 13:05:50 -04:00
Ken Martin b24533f27c ENH: fix line lengths 2006-07-31 10:28:30 -04:00
Andy Cedilnik b0d7f6999b BUG: Bail out on generator initialization failure 2006-07-28 09:14:17 -04:00
Andy Cedilnik 7e3310e6e5 BUG: Fix executing and help 2006-07-27 11:55:34 -04:00
Andy Cedilnik 15ddcb424f BUG: Prevent crash when no input file or generator specified 2006-07-27 11:26:47 -04:00
Andy Cedilnik 0f28edbe4a STYLE: Fix some style errors 2006-07-10 07:52:35 -04:00
Andy Cedilnik e36ae0fcb8 ENH: Several cleanups and support for multiple generators 2006-07-09 13:20:07 -04:00
Ken Martin af04164c6d STYLE: fix line length 2006-05-12 14:44:24 -04:00
Andy Cedilnik 26e75041fa BUG: Fix relative path to config file, fix cmake_install.cmake location problem 2006-05-10 12:39:45 -04:00
Andy Cedilnik d4e84f8c5b ENH: Add BZip2 support, add better documentation 2006-05-03 21:42:51 -04:00
Andy Cedilnik 6597cc4808 ENH: Add generators documentation 2006-05-02 17:52:22 -04:00
Andy Cedilnik 4709c76f0f ENH: More cleanups and add stgz header script, so it does not have to be hard-coded. Also, the user can overwrite it 2006-04-18 08:25:24 -04:00
Andy Cedilnik d342d51c0c ENH: Add ZIP generator and add support for including or excluding the toplevel directory 2006-04-02 11:20:58 -04:00
Andy Cedilnik 634343c3e8 STYLE: Fix some style issues 2006-03-10 13:06:26 -05:00
Andy Cedilnik 95ea0272de STYLE: Fix style problems 2006-03-09 08:32:08 -05:00
Andy Cedilnik e8affe5cc2 STYLE: Lots of formating to remove style problems 2006-03-08 16:33:39 -05:00
Andy Cedilnik 2e19553e7c ENH: Allow running without config file 2006-02-23 09:59:42 -05:00
Andy Cedilnik 3bce601c41 ENH: Improved support for icons, random directories, etc... 2006-02-14 10:28:40 -05:00
Andy Cedilnik 53564358ca ENH: Add missing help for -C option 2006-02-07 12:53:35 -05:00
Andy Cedilnik b9c4cff45a ENH: More debugging and work on PackageMaker code 2006-01-05 13:27:48 -05:00
Andy Cedilnik 88b4d5c179 BUG: Use objects that exist 2006-01-05 12:16:30 -05:00
Andy Cedilnik 5358809a5c ENH: More CPack stuff and fix zlib compression 2006-01-04 15:14:09 -05:00
Andy Cedilnik 9a1098f52e COMP: Remove warnings 2006-01-03 08:39:39 -05:00
Andy Cedilnik ebbe10193f ENH: Start working on CPack input file and cleanups 2006-01-02 17:28:20 -05:00
Andy Cedilnik bbf1c2d275 ENH: More improvements and add logging 2006-01-02 16:14:21 -05:00
Andy Cedilnik d0329919da ENH: Merge from the cpack branch 2006-01-01 23:21:05 -05:00