Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
657 commits
Select commit Hold shift + click to select a range
61c69d3
KWSys Nightly Date Stamp
kwrobot Oct 6, 2011
cf93d63
fix #12465: detect the masm compiler ID ("MSVC")
neundorf Oct 6, 2011
783da62
KWSys Nightly Date Stamp
kwrobot Oct 7, 2011
029ab31
Constify XCode generator getters to match cmGlobalGenerator
bradking Oct 7, 2011
48171ce
KWSys Nightly Date Stamp
kwrobot Oct 8, 2011
d17ab57
KWSys Nightly Date Stamp
kwrobot Oct 9, 2011
c83cfd7
Remove unused define.
steveire Oct 9, 2011
08271ec
Build each library only once instead of once for each test.
steveire Oct 9, 2011
d1f5a3b
KWSys Nightly Date Stamp
kwrobot Oct 10, 2011
32f8437
Fix line-too-long style violations
bradking Oct 10, 2011
fac6e2e
KWSys Nightly Date Stamp
kwrobot Oct 11, 2011
bb28c9f
Merge topic 'qt_dbus_interface_args'
dlrdave Oct 11, 2011
4daef77
Merge topic 'refactor-find-search-paths'
dlrdave Oct 11, 2011
3ece15b
Merge topic 'HandleCMAKE_CXX_COMPILER_ARG1InEclipse'
dlrdave Oct 11, 2011
6a8c703
Merge topic 'libarchive-CheckFileOffsetBits-typo'
dlrdave Oct 11, 2011
296fde3
Merge topic 'CodeBlocks-quoting'
dlrdave Oct 11, 2011
c8e92de
Merge topic 'DependencyScanningForASM'
dlrdave Oct 11, 2011
d9f9963
Merge topic 'export-header-tests'
dlrdave Oct 11, 2011
1226404
Merge topic 'ninja-generator-prep'
dlrdave Oct 11, 2011
25116a3
Fix CMAKE_VERBOSE_MAKEFILE for VS10 vcxproj files (#12504)
Oct 11, 2011
83e4a45
KWSys Nightly Date Stamp
kwrobot Oct 12, 2011
0d44ce2
Silence make on OpenBSD in FindPackageModeTest(#12508)
neundorf Oct 12, 2011
ba5a8bc
Remove trailing whitespace
neundorf Oct 12, 2011
d2b1ce6
Find Ruby on OpenBSD when installed from ports (#12507)
neundorf Oct 12, 2011
a481d84
FindProtoBuf: Documented limitation of the public macro
pdl3 Oct 13, 2011
731d61d
KWSys Nightly Date Stamp
kwrobot Oct 13, 2011
6eb2d79
KWSys Nightly Date Stamp
kwrobot Oct 14, 2011
7041cd6
CTest: Fix crash when variables are not defined
dlrdave Oct 14, 2011
eb11e0b
KWSys Nightly Date Stamp
kwrobot Oct 15, 2011
4974ec9
Eclipse generator: detect Eclipse version
neundorf Oct 15, 2011
5b200e3
Detect whether the current Eclipse version supports VirtualFolders
neundorf Oct 15, 2011
b4b2fc3
Eclipse: don't create VirtualFolders if not supported
neundorf Oct 15, 2011
dcd2459
Eclipse: better message when Eclipse version could not be determined
neundorf Oct 15, 2011
8062196
KWSys Nightly Date Stamp
kwrobot Oct 16, 2011
c6e7487
KWSys Nightly Date Stamp
kwrobot Oct 17, 2011
fa7a747
KWSys Nightly Date Stamp
kwrobot Oct 18, 2011
91e970c
Merge topic 'DetectMasmCompilerId'
dlrdave Oct 18, 2011
56b153d
Merge topic 'vs10-nologo-issue-12504'
dlrdave Oct 18, 2011
fe09546
Merge topic 'SilentMakeOutputOnBSD'
dlrdave Oct 18, 2011
02e99d9
Merge topic 'FindRubyOnOpenBSD'
dlrdave Oct 18, 2011
c818589
Merge topic 'FindProtoBuf_doc_clarify'
dlrdave Oct 18, 2011
1322c41
Merge topic 'fix-12517-ctest-crash'
dlrdave Oct 18, 2011
049d2bc
Merge topic 'DetectEclipseVersion'
dlrdave Oct 18, 2011
1b6c33f
KWSys Nightly Date Stamp
kwrobot Oct 19, 2011
b6d4de7
Eclipse: add virtual folder for each target
neundorf Oct 19, 2011
173fb48
KWSys Nightly Date Stamp
kwrobot Oct 20, 2011
f0d66ab
VS11: Fix comment generated at the top of *.sln files
dlrdave Oct 20, 2011
5a94d09
Xcode: Avoid spewing the environment on every script run (#12522)
Oct 17, 2011
b9e9ad5
KWSys Nightly Date Stamp
kwrobot Oct 21, 2011
af77289
KWSys Nightly Date Stamp
kwrobot Oct 22, 2011
2f309cb
CTest: Add COVERAGE_EXTRA_FLAGS cache variable (#12490)
dlrdave Oct 22, 2011
56aa6ff
automoc:run moc on the header if the source file contains include "fo…
neundorf Oct 22, 2011
ea8ac9f
Add copyright notices
neundorf Oct 22, 2011
5e8e9ad
automoc: always run moc on the cpp file if there is a foo.moc included
neundorf Oct 22, 2011
a390d6c
KWSys Nightly Date Stamp
kwrobot Oct 23, 2011
cef6bd9
Eclipse: move code for generating links to projects into separate fun…
neundorf Oct 23, 2011
c3f30bd
Eclipse: move code for generating links to targets into separate func…
neundorf Oct 23, 2011
117f2b8
Eclipse: add Build and Clean targets to targets
neundorf Oct 23, 2011
70de8bd
Eclipse: detect number of CPUs, set CMAKE_ECLIPSE_MAKE_ARGUMENTS acco…
neundorf Oct 23, 2011
66bd543
Eclipse: fix #12417, don't create wrong src pathentries
neundorf Oct 23, 2011
d3d7e45
Remove trailing white-spaces.
nicolasdespres Oct 13, 2011
d0b3a7f
Fix typo.
nicolasdespres Mar 19, 2011
dd13ecd
Doxygen: Improve code documentation.
nicolasdespres Mar 20, 2011
faede37
Doxygen: Generate call graph and relationships.
nicolasdespres Mar 20, 2011
a92f14f
Doxygen: Fix warnings.
nicolasdespres Mar 20, 2011
6be15ed
Doxygen: Remove dependency on VTK when building doxygen.
nicolasdespres Mar 25, 2011
1b612ca
Usage: Document -j|--parallel option in help message.
nicolasdespres Oct 12, 2011
3353d84
Usage: Document all options printing usage information.
nicolasdespres Oct 12, 2011
9ae0604
Usage: Document all options printing the version number.
nicolasdespres Oct 12, 2011
de51264
Usage: Print help, version and copyright options in usage information.
nicolasdespres Oct 12, 2011
bfb0ed4
Usage: Add missing exepath argument in get_prerequisites documentation.
nicolasdespres Oct 12, 2011
fd63219
ccmake: Align 'g' and 'q' key instructions.
nicolasdespres Jan 7, 2011
19da106
ccmake: Document '/' key.
nicolasdespres Jan 7, 2011
ceff6ec
ccmake: Factor toggle key help instructions.
nicolasdespres Jan 7, 2011
27e405d
KWSys Nightly Date Stamp
kwrobot Oct 24, 2011
89742d7
KWSys: Fix Doxygen warnings
bradking Oct 24, 2011
3d5869c
Add pre-commit|commit-msg|prepare-commit-msg hook placeholders
bradking Oct 24, 2011
b2d6adf
pre-commit: Reject changes to KWSys through Git
bradking Oct 24, 2011
d9cbba7
Initialize LINK_INTERFACE_LIBRARIES target property with a variable
steveire Oct 1, 2011
74eb86c
Fix CTest.UpdateSVN with Subversion 1.7 (#12535)
bradking Oct 24, 2011
6d79b50
Teach CTest.UpdateSVN to detect svn add --depth before using it
bradking Oct 24, 2011
676fb3b
KWSys Nightly Date Stamp
kwrobot Oct 25, 2011
26b6794
Source/cmCTest.cxx: Add missing newline (#12538)
Oct 25, 2011
039d1b1
Merge topic 'cmake-link-interface-libraries'
dlrdave Oct 25, 2011
e1902dd
Merge topic 'qt4-deploy-module'
dlrdave Oct 25, 2011
88b5578
Merge topic 'fix-vs11-sln-header'
dlrdave Oct 25, 2011
1df94c5
Merge topic 'fix-12522-avoid-xcode-env-spew'
dlrdave Oct 25, 2011
5576655
Merge topic 'fix-12490-shorten-gcov-filenames'
dlrdave Oct 25, 2011
61b4940
Merge topic 'AutomocFindQ_OBJECTAlwaysInHeader'
dlrdave Oct 25, 2011
4701843
Merge topic 'SourceGroupsForEclipse'
dlrdave Oct 25, 2011
bd216ef
Merge topic 'some-documentation-fixes'
dlrdave Oct 25, 2011
7b555c0
Merge topic 'local-hooks'
dlrdave Oct 25, 2011
a177099
Merge topic 'test-update-svn-1.7-issue-12535'
dlrdave Oct 25, 2011
fe6d9c1
FindLibXslt: also search libexslt and xsltproc
neundorf Oct 25, 2011
2b0f8c7
KWSys Nightly Date Stamp
kwrobot Oct 26, 2011
499c104
CTest: Clear custom vectors before populating (#12383)
dlrdave Oct 26, 2011
76ecdd8
CTest: Look for CTestConfig.cmake in build dir first, then source dir
jcfr Oct 27, 2011
9a6257a
KWSys Nightly Date Stamp
kwrobot Oct 27, 2011
30e4a52
Tell people that link_directories() is not what they are searching for
DerDakon Oct 26, 2011
6a6f214
KWSys Nightly Date Stamp
kwrobot Oct 28, 2011
ba5c649
KWSys Nightly Date Stamp
kwrobot Oct 29, 2011
b1e9e55
KWSys Nightly Date Stamp
kwrobot Oct 30, 2011
e20c59a
CPackRPM support component specific variables for spec files
TheErk Oct 30, 2011
83b13a2
Fix old reference to CMAKE_MAKE_PROGRAM inside CMAKE_BUILD_TOOL doc.
TheErk Oct 30, 2011
07e88ae
KWSys Nightly Date Stamp
kwrobot Oct 31, 2011
5e1c2f8
KWSys Nightly Date Stamp
kwrobot Nov 1, 2011
13d1946
KWSys: Address Intel compiler remarks
bradking Nov 1, 2011
9cfc920
Match fixup_qt4_executable with documentation.
MikeMcQuaid Oct 28, 2011
4571ea6
Don't resolve directories; are never relative.
MikeMcQuaid Oct 28, 2011
467ee36
Check plugin variables are defined before warning.
MikeMcQuaid Oct 28, 2011
9d87a92
Merge topic 'ctest-memcheck-log-newline-issue-12538'
dlrdave Nov 1, 2011
55eda4a
Merge topic 'FindLibXsltImprovements'
dlrdave Nov 1, 2011
e0d97b6
Merge topic 'fix-12383-clear-ctest-vecs'
dlrdave Nov 1, 2011
c2300e6
Merge topic 'fix-12539-ctestconfig-from-build-dir'
dlrdave Nov 1, 2011
5531e5e
Merge topic 'doc-link_directories-misconception'
dlrdave Nov 1, 2011
09dfcfb
Merge topic 'CPackRPM-perComponentHeader'
dlrdave Nov 1, 2011
55659c4
Merge topic 'FixCMAKE_BUILD_TOOL_doc'
dlrdave Nov 1, 2011
a39c195
Merge topic 'qt4-deploy-module'
dlrdave Nov 1, 2011
d4afce1
KWSys Nightly Date Stamp
kwrobot Nov 2, 2011
22bf096
KWSys Nightly Date Stamp
kwrobot Nov 3, 2011
ae09bab
KWSys Nightly Date Stamp
kwrobot Nov 4, 2011
0727f38
KWSys Nightly Date Stamp
kwrobot Nov 5, 2011
fce8e81
KWSys Nightly Date Stamp
kwrobot Nov 6, 2011
3de9669
KWSys Nightly Date Stamp
kwrobot Nov 7, 2011
7fe3484
KWSys Nightly Date Stamp
kwrobot Nov 8, 2011
a0134a6
Add SystemTools::Trimmed().
nicolasdespres Apr 10, 2011
9ed2c20
Ninja: Add beginning of the Ninja generator.
nicolasdespres Mar 20, 2011
371d05b
Ninja: Configure and build an helloworld program.
nicolasdespres Mar 23, 2011
337432e
Ninja: Implement GenerateBuildCommand().
nicolasdespres Apr 9, 2011
5396d5f
Ninja: Add the 'all' target.
nicolasdespres Apr 9, 2011
99200e1
Ninja: Handle link libraries.
nicolasdespres Apr 10, 2011
a78994f
Ninja: Compute link flags.
nicolasdespres Apr 10, 2011
340183d
Ninja: Variables' values are trimmed.
nicolasdespres Apr 10, 2011
7750fb6
Ninja: Do not generate twice the same rule.
nicolasdespres Apr 17, 2011
8e6f98d
Ninja: Handle shared libraries.
nicolasdespres Apr 17, 2011
8953554
Ninja: No longer use a set but a vector.
nicolasdespres Apr 17, 2011
a4b3556
Ninja: We will never support multiple configurations.
nicolasdespres Apr 17, 2011
db3f34b
Ninja: No longer overload UseFolderProperty().
nicolasdespres Apr 17, 2011
3c7be2a
Ninja: Add more debug messages.
nicolasdespres Apr 17, 2011
cb4e823
Ninja: Write bottom and top of the build file once.
nicolasdespres Apr 17, 2011
3aaca74
Ninja: Support recursive CMakeLists.txt.
nicolasdespres Apr 19, 2011
15318a2
Ninja: Generate shortcut target.
nicolasdespres Apr 19, 2011
2f486ea
Ninja: Add convenient method GetTargetName().
nicolasdespres Apr 19, 2011
1b526db
Ninja: Target 'all' depends on target names not output.
nicolasdespres Apr 19, 2011
d17e4db
Ninja: Factor common code between executable and library targets.
nicolasdespres Apr 19, 2011
ba41ad9
Ninja: Print the real target output in the comment.
nicolasdespres Apr 19, 2011
d660989
Ninja: Use order-only dependencies for shortcut targets.
nicolasdespres Apr 19, 2011
75220f5
Ninja: Factor the generate() methods.
nicolasdespres Apr 21, 2011
f8380ba
Ninja: Rename cmNinjaLibraryTargetGenerator...
nicolasdespres Apr 21, 2011
fda0a4d
Ninja: Support static libraries.
nicolasdespres Apr 21, 2011
ef59936
Ninja: Reject other languages than C and CXX.
nicolasdespres Apr 21, 2011
5eaca71
Ninja: Improve documentation.
nicolasdespres Aug 16, 2011
aad17c1
Use std::cerr here
pcc Aug 20, 2011
cf5d915
Partially fix link rules
pcc Aug 21, 2011
538a1d0
Convert link dependencies to HOME_OUTPUT-relative paths
pcc Aug 22, 2011
908afdd
Stop naming FLAGS and DEFINES variables after source language
pcc Aug 22, 2011
057fbb6
Have the Ninja generator build link references relative to HOME_OUTPUT
pcc Aug 22, 2011
f6dab74
Pick up the DEFINES and FLAGS from the source and target
pcc Aug 23, 2011
a117cb9
Use cmTarget::GetDirectory to get correct target output directory
pcc Aug 23, 2011
3b43a6c
Support for creating symlinks, with nasty duplicated code
pcc Aug 25, 2011
58b2ed3
Target ordering for utilities
pcc Aug 26, 2011
2ab501d
Remove ninja debugging output and unused overridden methods
pcc Aug 26, 2011
be22c42
Use cmMakefile::GetDefinition here to avoid spurious error messages
pcc Aug 26, 2011
4b353af
Unify the executable, shared and static target generators
pcc Aug 26, 2011
9563539
Prevent cmNinjaTargetGenerator::GetTargetFilePath from returning path…
pcc Aug 26, 2011
c811053
Small refactor, and start using STL functors
pcc Aug 28, 2011
6ee49e3
Forward declare cmCustomCommand here
pcc Aug 28, 2011
bdfeda3
Start on custom commands
pcc Aug 28, 2011
6e39836
Move some code to cmNinjaNormalTargetGenerator
pcc Aug 29, 2011
023e5d2
Fix header guard
pcc Aug 29, 2011
fdea8b3
Eliminate restriction that there be at least one input file
pcc Aug 30, 2011
d1d09e3
Factor some code out of cmNinjaTargetGenerator::WriteCustomCommandBui…
pcc Aug 30, 2011
d477827
Use "all" as the name of the preinstall rule
pcc Aug 30, 2011
3efd7a8
First stab at global targets
pcc Aug 30, 2011
d6d60d5
Output a default target statement making "all" the default
pcc Sep 4, 2011
d54c55f
Use cmCustomCommandGenerator to build custom command line
pcc Sep 4, 2011
30dd8ff
Add OBJECT_DEPENDS as implicit dependencies
pcc Sep 5, 2011
c9f157b
Do not output a custom command more than once
pcc Sep 5, 2011
eb2fa65
Give the generator a better name
pcc Sep 5, 2011
dc566c0
Teach Ninja how to rebuild its manifest
pcc Sep 5, 2011
e35a38b
Output custom commands with 0 command lines as phony targets
pcc Sep 6, 2011
520d856
Run custom commands in the correct working directory
pcc Sep 6, 2011
079fec7
Set RuleVariables::TargetSOName
pcc Sep 6, 2011
cbb7bf8
Dependency tracking
pcc Sep 6, 2011
e5bc6e8
Re-work target ordering
pcc Sep 6, 2011
ed6f6ee
Make the shortcut and all targets use explicit dependencies
pcc Sep 6, 2011
58bd3ca
Output a phony build statement so that a missing CMake input file is …
pcc Sep 6, 2011
99b3ded
No link dependencies for static libraries
pcc Sep 6, 2011
ab4f5ca
Disable dependency tracking if the target is named "cmTryCompileExec"
pcc Sep 6, 2011
087a102
Use FLAGS and DEFINES for the source file language
pcc Sep 7, 2011
e33b0a9
Have the Ninja generator build header search paths relative to HOME_O…
pcc Sep 7, 2011
25eac80
Add order-only dependency on any header file with a custom command
pcc Sep 7, 2011
74a52e7
SONAME for a CMAKE_SYMLINK_LIBRARY rule should be a path
pcc Sep 7, 2011
f52d078
Search/replace makefile vars
pcc Sep 8, 2011
6a71004
Give utility targets with commands a more unique output file name
pcc Sep 8, 2011
342b400
Implement assumed source dependencies
pcc Sep 9, 2011
210ab19
Move the "cd" command logic to cmNinjaTargetGenerator::AppendCustomCo…
pcc Sep 9, 2011
01a2f2c
Support for POST_BUILD on normal targets
pcc Sep 9, 2011
b6ca154
Add all targets (including utilities) except EXCLUDE_FROM_ALL to "all"
pcc Sep 9, 2011
bddaaab
Use ResolveLanguageCompiler in cmGlobalNinjaGenerator so that changin…
pcc Sep 10, 2011
f10ef04
Encode file names as identifiers in build statements
pcc Sep 10, 2011
1f190be
Add a restat variable for custom commands
pcc Sep 11, 2011
60027d7
Add target dependencies to custom commands
pcc Sep 19, 2011
8e09a8d
Introduce new scheme for custom command target dependencies
pcc Sep 20, 2011
e3353f1
Write a CUSTOM_COMMAND (i.e. restat) for assumed dependencies
pcc Sep 20, 2011
aba4eaf
Remove an unused function
pcc Sep 21, 2011
2792154
Add support for MODULE_LIBRARY
pcc Sep 21, 2011
53c4cd2
Use the NINJA_BUILD_FILE constant here
Sep 21, 2011
85f0b3e
Consolidate all code for emitting custom commands
Sep 21, 2011
a5e75c2
Add support for external objects
Sep 21, 2011
3d7e1d2
Error out if we could not determine the linker language
pcc Sep 21, 2011
f3c92c5
Remove uselessly overridden method
pcc Sep 22, 2011
f916b70
Changes to ExternalProject.cmake necessary to make it work with Ninja
pcc Sep 22, 2011
58b060c
Respect the HEADER_FILE_ONLY source file property
pcc Sep 22, 2011
8bde25a
Run PRE_BUILD and PRE_LINK commands
pcc Sep 22, 2011
dbe33bc
Fix a bug in SystemTools::Trimmed, and give it a better name
pcc Sep 22, 2011
5a6404f
":" is shorter than "true"
pcc Sep 22, 2011
e81a789
Mark the RERUN_CMAKE rule as a "generator" rule
pcc Sep 22, 2011
5afa1a5
Use the "clean" tool instead of the non-existent "clean" target
pcc Sep 22, 2011
40f3348
Switch to a more reliable way of detecting that we are in try-compile
pcc Sep 22, 2011
13c2613
The Ninja generator should not have a preinstall rule
pcc Sep 22, 2011
0eac279
Attach POST_BUILD commands to symlink rule if we have to create a sym…
pcc Sep 22, 2011
d486803
Use cmGlobalGenerator::IsExcluded to determine if a target should be …
pcc Sep 22, 2011
a36273a
Modify the SubProject-Stage2 test
pcc Sep 22, 2011
e3d58d8
Make the OutOfSourceSubdir test more compatible with Ninja
pcc Sep 22, 2011
5692844
Now we have Make-style order-only deps, we can just depend on the tar…
pcc Sep 23, 2011
dedc230
Have utilities depend on their target dependencies, rather than their…
pcc Sep 23, 2011
c007075
Introduce new scheme for target aliases
pcc Sep 23, 2011
0f378cd
Rename GetTargetTypeName locally
pcc Sep 23, 2011
2a79a8d
Add a note to the readme file
pcc Sep 24, 2011
d00cab5
Address some constness issues from fixups
pcc Sep 25, 2011
241b15a
Nicer output for target aliases
pcc Sep 25, 2011
3b4d28e
Delete existing static library archives before rebuilding them
pcc Nov 7, 2011
70da8df
Remove the note, outputs-ready is merged now
pcc Nov 8, 2011
6a03e2a
Clean up a few TODOs
pcc Nov 9, 2011
6ed279a
Only compile Ninja generator on UNIX.
pcc Nov 9, 2011
47647e1
Store depfile flags in a language-specific variable
pcc Nov 10, 2011
37666db
Clarify a comment
pcc Nov 10, 2011
160f7cc
Remove an unnecessary (and ugly) call to cmSystemTools::MakeDirectory
pcc Nov 10, 2011
3084b66
Only add the 'done' mark for Ninja generator, and add comments
pcc Nov 10, 2011
e422469
Fix 79-col violations, comment typos and switch to CMake's indentatio…
pcc Nov 11, 2011
6c27d34
Add a comment to this test case
pcc Nov 11, 2011
2e00859
We don't need to forward declare this
pcc Nov 11, 2011
da0d203
Fix a few issues pointed out by clang warnings
pcc Nov 11, 2011
b1eb676
Copyright me
pcc Nov 11, 2011
39726bb
Document that only recent versions of ninja will work
pcc Nov 11, 2011
eec2d90
We actually support any language other than Fortran
pcc Nov 11, 2011
42aff86
Rules do not have arbitrary variable bindings, and remove an unnecess…
pcc Nov 11, 2011
92e6519
Add support for executable with exports flags to cmLocalGenerator::Ge…
pcc Nov 11, 2011
f5a4d1e
Ensure architecture flags are passed to the linker if specified
Jan 30, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.gitattributes export-ignore
.hooks* export-ignore

bootstrap crlf=input
configure crlf=input
Expand Down
18 changes: 18 additions & 0 deletions .hooks-config.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#=============================================================================
# CMake - Cross Platform Makefile Generator
# Copyright 2000-2011 Kitware, Inc., Insight Software Consortium
#
# Distributed under the OSI-approved BSD License (the "License");
# see accompanying file Copyright.txt for details.
#
# This software is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the License for more information.
#=============================================================================

# Loaded by .git/hooks/(pre-commit|commit-msg|prepare-commit-msg)
# during git commit after local hooks have been installed.

hooks_chain_pre_commit="Utilities/Git/pre-commit"
hooks_chain_commit_msg="Utilities/Git/commit-msg"
hooks_chain_prepare_commit_msg="Utilities/Git/prepare-commit-msg"
18 changes: 11 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -231,11 +231,13 @@ MACRO (CMAKE_BUILD_UTILITIES)
CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}_c "${kwsys_folder}")
CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}EncodeExecutable "${kwsys_folder}")
CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}ProcessFwd9x "${kwsys_folder}")
CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestDynload "${kwsys_folder}")
CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestProcess "${kwsys_folder}")
CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestsC "${kwsys_folder}")
CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestsCxx "${kwsys_folder}")
CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestSharedForward "${kwsys_folder}")
if(BUILD_TESTING)
CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestDynload "${kwsys_folder}")
CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestProcess "${kwsys_folder}")
CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestsC "${kwsys_folder}")
CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestsCxx "${kwsys_folder}")
CMAKE_SET_TARGET_FOLDER(${KWSYS_NAMESPACE}TestSharedForward "${kwsys_folder}")
endif()

#---------------------------------------------------------------------
# Setup third-party libraries.
Expand Down Expand Up @@ -416,7 +418,7 @@ ENDIF()
# The CMake version number.
SET(CMake_VERSION_MAJOR 2)
SET(CMake_VERSION_MINOR 8)
SET(CMake_VERSION_PATCH 5)
SET(CMake_VERSION_PATCH 6)
#SET(CMake_VERSION_TWEAK 0)
#SET(CMake_VERSION_RC 1)

Expand Down Expand Up @@ -598,7 +600,9 @@ ADD_SUBDIRECTORY(Source)
ADD_SUBDIRECTORY(Utilities)
ADD_SUBDIRECTORY(Tests)

CMAKE_SET_TARGET_FOLDER(CMakeLibTests "Tests")
if(BUILD_TESTING)
CMAKE_SET_TARGET_FOLDER(CMakeLibTests "Tests")
endif()
CMAKE_SET_TARGET_FOLDER(cmw9xcom "Utilities/Win9xCompat")
CMAKE_SET_TARGET_FOLDER(documentation "Documentation")

Expand Down
6 changes: 6 additions & 0 deletions CTestCustom.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ SET(CTEST_CUSTOM_WARNING_EXCEPTION
"warning:.*is.*misused, please use.*"
"CMakeSetupManifest.xml.*manifest authoring warning.*Unrecognized Element"
"cc-3968 CC: WARNING File.*" # "implicit" truncation by static_cast
"ld: warning: directory not found for option .-(F|L)"
"warning.*This version of Mac OS X is unsupported"

# Ignore clang's summary warning, assuming prior text has matched some
# other warning expression:
"[0-9,]+ warnings? generated."
)

IF(NOT "@CMAKE_GENERATOR@" MATCHES "Xcode")
Expand Down
Loading