Commit Graph

36150 Commits

Author SHA1 Message Date
Brad King ff1563199c Merge topic 'intel-std-flags'
fc51b92c Intel: avoid variables in language standard flags

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !894
2017-05-28 09:21:43 -04:00
Brad King f8642f953d Merge topic 'reduce-string-copying'
2c2bb5f5 Remove unnecessary operator<< usage
1e4e2f99 Remove unused variables
25486156 Improved checking for number of arguments passed
86dc86dd Add const-reference qualifications
76bdb407 Change std::basic_string<char> to std::string

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !886
2017-05-28 09:13:12 -04:00
Brad King f9ea6247c1 Merge topic 'FindBoost-use-IN_LIST'
cc329a01 FindBoost: Simplify search in lists.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !750
2017-05-28 09:12:04 -04:00
Brad King 5a0fa11fec Merge topic 'autogen_config'
e3e692ca Autogen: Test adaptions
dbda5906 Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property.
0965002e Autogen: Pass build directory in Info file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !858
2017-05-28 09:11:33 -04:00
Brad King 8b96e31ca3 Merge topic 'FindProtobuf-export-macro'
1ee20192 FindProtobuf: add optional export declaration macro to generated cpp files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !881
2017-05-28 09:09:46 -04:00
Brad King bc341a9d5e Merge topic 'update-libuv'
478ce1c7 libuv: Update build within CMake
1ebb421b Merge branch 'upstream-libuv' into update-libuv
362435f0 libuv 2017-05-25 (dc596109)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !896
2017-05-28 09:03:46 -04:00
Kitware Robot e6c7c420b1 CMake Nightly Date Stamp 2017-05-28 00:01:03 -04:00
Kitware Robot 6357a22355 CMake Nightly Date Stamp 2017-05-27 00:01:05 -04:00
Brad King 478ce1c7b4 libuv: Update build within CMake
Update our CMake build rules to account for upstream changes.
2017-05-26 13:48:48 -04:00
Brad King 1ebb421bfc Merge branch 'upstream-libuv' into update-libuv
* upstream-libuv:
  libuv 2017-05-25 (dc596109)
2017-05-26 13:33:41 -04:00
libuv upstream 362435f02a libuv 2017-05-25 (dc596109)
Code extracted from:

    https://github.com/libuv/libuv.git

at commit dc596109d5a22db1dbf57098630eebd30fce8068 (v1.x).
2017-05-26 13:33:40 -04:00
Pavel Solodovnikov 2c2bb5f527 Remove unnecessary operator<< usage 2017-05-26 19:54:29 +03:00
Pavel Solodovnikov 1e4e2f993c Remove unused variables 2017-05-26 19:52:31 +03:00
Pavel Solodovnikov 2548615630 Improved checking for number of arguments passed 2017-05-26 19:51:40 +03:00
Pavel Solodovnikov 86dc86dd6c Add const-reference qualifications 2017-05-26 19:50:11 +03:00
André Apitzsch 1ee2019239 FindProtobuf: add optional export declaration macro to generated cpp files 2017-05-26 11:35:03 -04:00
Alex Turbov cc329a0125 FindBoost: Simplify search in lists.
Instead of `list(FIND...)` and then checking result for `-1`
(found/not-found), nowadays `if` command has the `IN_LIST` test for
that.
2017-05-26 11:21:49 -04:00
Brad King bc407ba6ba Merge topic 'codecvt-revise'
690acadc codecvt: Re-implement do_out and do_unshift

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !891
2017-05-26 11:17:17 -04:00
Brad King 6f74bbaffe Merge topic 'findxmlrpc_fix'
eb0cfd28 FindXMLRPC: handle QUIETLY and REQUIRED correctly

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !887
2017-05-26 11:15:49 -04:00
Brad King 5b8ac116c3 Merge topic 'cpacklog-string-cref'
542d9d5e cmCPackLog: pass std::string by const&

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !892
2017-05-26 11:15:13 -04:00
Brad King fa0a3210ee Merge topic 'vs-vcxproj-indent'
30675ec4 VS: Fix indentation of .vcxproj files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !884
2017-05-26 11:14:33 -04:00
Brad King 256481499d Merge topic 'update-kwsys'
867b1742 Merge branch 'upstream-KWSys' into update-kwsys
402c6c12 KWSys 2017-05-25 (160bed45)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !890
2017-05-26 11:13:45 -04:00
Sebastian Holtermann e3e692caea Autogen: Test adaptions 2017-05-26 15:27:17 +02:00
Sebastian Holtermann dbda590628 Autogen: Per-config file suffixes. New AUTOGEN_BUILD_DIR target property.
Closes #14760
Closes #14313
2017-05-26 15:27:17 +02:00
Sebastian Holtermann 0965002e57 Autogen: Pass build directory in Info file 2017-05-26 15:23:21 +02:00
Daniel Pfeifer fc51b92c80 Intel: avoid variables in language standard flags
In the bootstrap script, we want to be able to extract language standard
flags using sed.  Make sure the content of the flag varianbles can be
passed unmodified to the compiler.
2017-05-26 08:21:50 +02:00
Kitware Robot 83e4a8e637 CMake Nightly Date Stamp 2017-05-26 00:01:06 -04:00
Daniel Pfeifer 542d9d5e25 cmCPackLog: pass std::string by const& 2017-05-25 23:40:50 +02:00
Niklas Simons eb0cfd2847 FindXMLRPC: handle QUIETLY and REQUIRED correctly
Use the built in FindPackageHandleStandardArgs.

Fixes: #16912
Signed-off-by: Niklas Simons <nsimons@abo.fi>
2017-05-25 15:26:05 -04:00
Brad King 048f0065bf Merge topic 'c++11-iwyu-decay-and-strip'
60afab9e IWYU: add mapping for std::__decay_and_strip

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !889
2017-05-25 15:16:39 -04:00
Brad King 1f6509142d Merge topic 'FindCygwin-alt-arch'
d3034654 FindCygwin: Use find_program instead of find_path

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !883
2017-05-25 15:15:16 -04:00
Brad King def409af76 Merge topic 'FindDoxygen-add-docs-function'
59ffabfe Improve Doxygen support

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !684
2017-05-25 15:14:53 -04:00
Brad King 1aa9eb33e0 Merge topic 'server-fix-warning'
aa7e9a96 cmServer: Fix compiler -Wdouble-promotion warning

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !885
2017-05-25 15:14:22 -04:00
Brad King d6df882add Merge topic 'find_dependency-improvements'
ab358d6a Improve find_dependency argument handling

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !872
2017-05-25 15:13:47 -04:00
Brad King a9b11235a8 Merge topic 'find_package-shorter-message'
d0b9d1cc find_package: shorten output for missing package in config mode
d9df805f cmFindPackageCommand: Split condition to improve readability

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !851
2017-05-25 15:13:03 -04:00
Brad King 690acadc17 codecvt: Re-implement do_out and do_unshift
The previous implementation assumed that only one byte would be given
in the `from` buffer by the caller at a time.  This may be true for
MSVC but is not for the GNU library on Windows.  Re-implement these
methods to handle more than one byte per call.

Also simplify the state management by keeping all state between calls
directly in the `mbstate_t` argument instead of using it to index our
own heap-allocated state.

Fixes: #16893
2017-05-25 15:03:03 -04:00
Brad King 867b17428a Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
  KWSys 2017-05-25 (160bed45)
2017-05-25 09:40:59 -04:00
KWSys Upstream 402c6c121c KWSys 2017-05-25 (160bed45)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 160bed451833380e9f6ddc60e709ab6800bf2129 (master).

Upstream Shortlog
-----------------

Brad King (1):
      51859eab CONTRIBUTING: Specify clang-format version used for code style

Florian Maushart (2):
      684bcda6 SystemInformation: Expose CPU feature flags publicly
      70b8332f SystemInformation: Add CPU_FEATURE_FPU flag
2017-05-25 09:40:58 -04:00
Kitware Robot bc2cfd7c98 CMake Nightly Date Stamp 2017-05-25 00:01:07 -04:00
Daniel Pfeifer 60afab9e44 IWYU: add mapping for std::__decay_and_strip 2017-05-25 00:55:40 +02:00
Pavel Solodovnikov 76bdb40762 Change std::basic_string<char> to std::string 2017-05-24 23:30:57 +03:00
Brad King 30675ec49b VS: Fix indentation of .vcxproj files
Patch-by: vvs31415 on gitlab.kitware.com
2017-05-24 11:07:53 -04:00
Brad King aa7e9a9674 cmServer: Fix compiler -Wdouble-promotion warning 2017-05-24 10:55:45 -04:00
Brad King 43d9b296f5 Merge branch 'release' 2017-05-24 10:39:11 -04:00
Brad King 9f552e2e5a Merge topic 'vs15-GNUtoMS'
abe8a623 GNUtoMS: Add search path for VS 2017 environment scripts

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !875
2017-05-24 10:37:51 -04:00
Brad King 20b892d9a2 Merge topic 'IAR-response-flag-space'
68ea936f Added space after IAR response file flag

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !880
2017-05-24 10:37:33 -04:00
Brad King 5e0858cc15 Merge topic 'update-kwsys'
6f334159 Merge branch 'upstream-KWSys' into update-kwsys
47a8ff34 KWSys 2017-05-23 (411e958f)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !882
2017-05-24 10:26:09 -04:00
Kitware Robot 56f87f179a CMake Nightly Date Stamp 2017-05-24 00:01:05 -04:00
Alex Turbov 59ffabfeec Improve Doxygen support
Except Graphviz's `dot` Doxygen may use few other utilities like
`mscgen` (Message Sequence Chart) and `dia` (Diagram Editor).

Now this module allows to manage Doxygen settings from `CMakeLists.txt`
and forget about `Doxyfile`s. Also it provides a helper function
to add a target to generate documentation: `doxygen_add_docs`.

Implement code review notes:

- Introduce `COMPONENTS` to find: `dot`, `mscgen` and `dia`;
- Deprecate variables `DOXYGEN_SKIP_DOT`, `DOXYGEN_EXECUTABLE`,
  `DOXYGEN_DOT_EXECUTABLE`, `DOXYGEN_DOT_FOUND` in favour of
  `doxygen_add_docs ` usage instead;
- Properly handle paths to found tools in Windows;
- Prevent adding a custom target if Doxygen was not really found;
- Introduce exported (executable) targets for found components.

Co-Author: Craig Scott <craig.scott@crascit.com>
2017-05-24 10:15:45 +07:00
Tibor Szabo d303465448 FindCygwin: Use find_program instead of find_path
Cygwin's installation directory is mainly needed to use some programs
of it, irrespectively of the target architecture. However, find_path
does not consider cygwin with architecture different than the target
architecture. This is because cygwin's installation path is retrieved
from the registry. WOW64 view is not used by find_path if generating
for 32-bit architecture and vice versa, so cygwin is not found then.
find_program tries both views, this way a 64-bit cygwin may be used
for 32 bit build and vice versa.
2017-05-23 22:51:01 +02:00