Daniel Pfeifer
9316120c80
SunPro: add standard compile option for C++03
2017-05-26 13:26:39 -04:00
Brad King
783fbb77e7
Tests: Compile entire Plugin test with the same language standard
...
Set `CMAKE_CXX_STANDARD` early so that both KWSys and our test code
build with the same language standard. This is important on compilers
that have incompatible standard libraries.
2017-05-26 13:26:39 -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
Christoph Grüninger
d0b9d1cceb
find_package: shorten output for missing package in config mode
...
If CONFIG or MODULE is given and the package is not REQUIRED,
output a one-liner instead of the full warning.
Update Tests/RunCMake/find_package expected output to match.
2017-05-23 15:27:42 -04:00
Christoph Grüninger
d9df805f6a
cmFindPackageCommand: Split condition to improve readability
2017-05-23 15:23:10 -04:00
Brad King
6f3341591d
Merge branch 'upstream-KWSys' into update-kwsys
...
* upstream-KWSys:
KWSys 2017-05-23 (411e958f)
2017-05-23 14:34:26 -04:00
KWSys Upstream
47a8ff3491
KWSys 2017-05-23 (411e958f)
...
Code extracted from:
https://gitlab.kitware.com/utils/kwsys.git
at commit 411e958f46246eaf8e044b6d0af542685bca5fcf (master).
Upstream Shortlog
-----------------
Brad King (1):
c23e388b ConsoleBuf: Avoid signed/unsigned comparison
2017-05-23 14:34:23 -04:00
Brad King
ae5f98a5e3
Merge topic 'vs-reduce-UseOfMfc'
...
b520b18c VS: Write UseOfMfc tag only if CMAKE_MFC_FLAG is present
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !873
2017-05-23 14:17:16 -04:00
Brad King
150d9daf89
Merge topic 'darwin-bootstrap'
...
4edcc375 bootstrap: prefer Clang over GNU on Darwin
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !878
2017-05-23 14:12:05 -04:00
Brad King
346f1c0cf3
Merge topic 'FindImageMagick-support-v7'
...
4131d1b5 FindImageMagick: Update to work with v7
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !874
2017-05-23 13:30:23 -04:00
Brad King
590c92d125
Merge topic 'FindProtobuf-targets'
...
a5ccddf0 FindProtobuf: Rename imported targets to match upstream names
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !876
2017-05-23 13:29:59 -04:00
Andreas Weis
68ea936ff5
Added space after IAR response file flag
...
Without the space between the flag and the filename, IAR will fail to
parse the arguments correctly.
2017-05-23 07:25:27 +02:00