15328 Commits

Author SHA1 Message Date
KWSys Robot
362ba97017 KWSys Nightly Date Stamp 2010-09-06 00:10:03 -04:00
Miguel A. Figueroa-Villanueva
ede24f8171 ENH #8993: FindwxWidgets add support for wx-config custom options.
Added suport for setting a custom toolkit, refix, etc. when using
wx-config.
2010-09-05 09:39:37 -04:00
KWSys Robot
20f15c4321 KWSys Nightly Date Stamp 2010-09-05 00:10:34 -04:00
KWSys Robot
8e0de9cc45 KWSys Nightly Date Stamp 2010-09-04 00:10:06 -04:00
Philip Lowman
c1675951a0 Merge patch for detecting gdk-pixbuf library
The gdk-pixbuf library was split off from core GTK in 2.21 so it could be used
separately by people outside GTK.  Now FindGTK searches and adds it to the
library/include list.  Thanks to Vincent Untz for the patch and Ricardo Cruz
for the heads up.
2010-09-03 22:05:09 -04:00
David Cole
e6ac0aacf6 Add FOLDER target property, for IDEs (#3796)
This work was started from a patch by Thomas Schiffer.
Thanks, Thomas!

See the newly added documentation of the FOLDER target
property for details.

Also added global properties, USE_FOLDERS and
PREDEFINED_TARGETS_FOLDER. See new docs here, too.

By default, the FOLDER target property is used to organize
targets into folders in IDEs that have support for such
organization.

This commit adds "solution folder" support to the Visual
Studio generators. Currently works with versions 7 through
10.

Also, use the new FOLDER property in the ExternalProject
test and in the CMake project itself.
2010-09-03 13:53:22 -04:00
KWSys Robot
f68c08e1b4 KWSys Nightly Date Stamp 2010-09-03 00:10:03 -04:00
Bill Hoffman
d26cd46989 Only use .CPP .CXX and .C++ do not work by default with g+++. 2010-09-02 18:02:57 -04:00
Bill Hoffman
3b7da5396d Fix for bug 10388, fix various default flags. 2010-09-02 14:35:17 -04:00
Ben Boeckel
439877f620 Be consistent with single and double quotes 2010-09-02 12:14:06 -04:00
Bill Hoffman
ced61f5722 Let CMake recognize .CPP .CXX and .C++ as c++ files. 2010-09-02 11:56:40 -04:00
Ben Boeckel
4cf17062d3 Add documentation for check-system-vars 2010-09-02 11:39:22 -04:00
Ben Boeckel
b74777fdb2 Fix the spelling of the flag for warn-unused-vars 2010-09-02 11:39:01 -04:00
Ben Boeckel
b94812072a Change logic of flag to turn off cli unused checks
Since we default to checking unused cli variables, make the flag turn
off the checks.
2010-09-02 11:38:00 -04:00
Ben Boeckel
f047a17c59 Add test for uninitialized variables 2010-09-02 11:34:13 -04:00
Ben Boeckel
75bda3864e Add tests for unused command line variables 2010-09-02 11:33:57 -04:00
Ben Boeckel
300fc15779 Fix detection of system files
Instead of looking to see if the file is under CMAKE_ROOT, check to see
if it is instead under the source or binary directories in use.
2010-09-02 11:33:34 -04:00
Ben Boeckel
d784e6af4d Run the unused variables check on the final pass 2010-09-02 11:29:05 -04:00
Ben Boeckel
9efc05722e VariableWatch is not available when bootstrapping 2010-09-02 09:10:52 -04:00
KWSys Robot
f943601640 KWSys Nightly Date Stamp 2010-09-02 00:10:04 -04:00
Ben Boeckel
2e78224509 Add a missing comma to the warning message 2010-09-01 13:09:08 -04:00
Ben Boeckel
74997000c8 Add a flag to warn about system files 2010-09-01 13:09:08 -04:00
Ben Boeckel
fff9f6d6f7 Rename flags again and use variablewatch for cli 2010-09-01 13:09:08 -04:00
Ben Boeckel
786e2695cb Add warn-unused to the Qt interface 2010-09-01 13:08:15 -04:00
Ben Boeckel
636e6c4ef7 Default to marking things as used
If we don't then:

    cmake --warn-unused --warn-unused-all

acts differently than:

    cmake --warn-unused-all --warn-unused
2010-09-01 13:08:15 -04:00
Ben Boeckel
4ff03402fc Rename find-unused to warn-unused 2010-09-01 13:08:14 -04:00
Ben Boeckel
d7999e9b29 Rename strict-mode to warn-uninitialized 2010-09-01 13:08:14 -04:00
Ben Boeckel
e141bc950a Detect unused variables 2010-09-01 13:08:14 -04:00
Ben Boeckel
d3e8eb5041 Add flags to detect unused variables 2010-09-01 13:08:14 -04:00
Ben Boeckel
f332e14ff2 Complete strict-mode checks for uninitialized vars 2010-09-01 13:08:14 -04:00
Ben Boeckel
52f9637174 Add method to get the local scope variables 2010-09-01 13:08:14 -04:00
Bill Hoffman
f794d589a4 Make --strict-mode option, and integrate with cmake-gui 2010-09-01 13:08:14 -04:00
Bill Hoffman
48b5b85593 Add a warning when variables are used uninitialized. 2010-09-01 13:08:13 -04:00
Bill Hoffman
cd626ea66e For macros make sure the FilePath points to a valid pointer in the args. 2010-09-01 13:08:13 -04:00
Miguel A. Figueroa-Villanueva
3dbeeb7793 BUG #8184: Fixed FindwxWidgets wrong order of default libs for MinGW.
Also fixed usage sample in comments, which can be misleading for MinGW
users as demonstrated by mantis issue #10089.
2010-09-01 12:27:31 -04:00
Miguel A. Figueroa-Villanueva
f46712ebe7 BUG #11123: Generic include dir should come after config specific one. 2010-09-01 10:40:01 -04:00
Miguel A. Figueroa-Villanueva
6cb14ebf16 STYLE: Clarified/Fixed documentation of UsewxWidgets. 2010-09-01 09:34:57 -04:00
Brad King
eae45a67e7 Search MacPorts /opt/local prefix on Mac
Include this prefix in CMAKE_SYSTEM_PREFIX_PATH so that it will be used
for all find* commands.  Previously only find_library and find_path
would look under /opt/local/lib and /opt/local/include, respectively.
2010-09-01 08:50:51 -04:00
Brad King
8e76221754 Merge topic 'FindGTK2_10688'
7828932 10688: FindGTK2.cmake doesn't auto-detect macports
2010-09-01 08:42:18 -04:00
Miguel A. Figueroa-Villanueva
36c15a2f0b BUG #10658: FindwxWidgets USE_FILE should not include .cmake extension.
The wxWidgets_USE_FILE variable to be used with the include command
should be set to UsewxWidgets; not UsewxWidgets.cmake.
2010-09-01 00:15:07 -04:00
KWSys Robot
4948536d61 KWSys Nightly Date Stamp 2010-09-01 00:10:30 -04:00
Alex Neundorf
5cdfc9c8ea Improve wording of the error message of find_package() in config-mode
As suggested by Brad, this improves the wording of the error message
in config-mode when config-files were found, but no suitable version.
The patch also contains the small loop-optimization suggested by Brad.

Alex
2010-08-31 21:10:00 +02:00
Brad King
f628cac5b0 Merge topic 'FindwxWidgets-fixed-bug-9775'
f51eb9c BUG: #9775 Fixed patch FindwxWidgets-fixed-bug-9775.
6bbf2a0 ENH: #9775 Added support for new wxWidgets 2.9 libraries.
2010-08-31 14:53:57 -04:00
Brad King
3d88b42de7 Merge topic 'tab-in-indent'
1cbc53f Add whitespace=tab-in-indent attribute for sources
2010-08-31 14:52:24 -04:00
Brad King
28e073213f Merge topic 'MakeTargetLinkLibrariesComplainWhenNoTargetIsUsed'
6acc71c New CMP0016 for deciding whether an unknown target in TLL() is an error.
da033b1 Remove trailing whitespace
6aef6d8 Just warn in case of a bad target as only argument for t_l_l()
c786635 Make target_link_libraries() complain if bad target name is used
43f96ea Remove trailing whitespace
2010-08-31 14:48:26 -04:00
Brad King
6c155d9e9e Merge topic 'vs-utility-depends'
a99f620 Fix unused parameter warning in VS 7.1 generator
79a88c3 Refactor VS <= 7.1 utility-depends workaround
325bdb2 Factor out duplicate VS target dependency code
6bea843 Factor out global generator ComputeTargetDepends method
2010-08-31 14:38:18 -04:00
Brad King
0642c758cc Merge topic 'libarchive-tar-headers'
e87b6bb libarchive: Remove SCHILY dev,ino,nlink attributes (#11176)
2010-08-31 14:37:31 -04:00
Brad King
3913bff986 Merge topic 'vs-platforms'
ef4394d VS: Add ArchitectureId to VS 8 and 9 generators
4fec681 VS: Map /ENTRY linker option to EntryPointSymbol
be49129 VS: Add more TargetMachine option values
807fca4 VS: Convert PlatformName member to a virtual method
2010-08-31 14:37:16 -04:00
Brad King
1976c45a3c Merge topic 'intra-component-dependencies'
adb58d5 Honor strong intra-component target dependencies
681cf01 Distinguish "strong" and "weak" target dependency edges
7be2617 Split notion of node lists and edge lists
2010-08-31 14:36:50 -04:00
Brad King
d2a65b5f40 Merge topic 'target-dependencies-const'
95b3bb5 Restore GetTargetDirectDepends const return
2010-08-31 14:36:01 -04:00