Gabor Bencze
ceab7bda44
cmCommand refactor: cmIncludeGuardCommand
2019-08-20 14:42:19 -04:00
Gabor Bencze
f42dad7a5e
cmCommand refactor: cmIncludeCommand
2019-08-20 14:42:19 -04:00
Gabor Bencze
fb57537a83
cmCommand_refactor: cmGetPropertyCommand
2019-08-20 14:42:19 -04:00
Gabor Bencze
6377efd154
cmCommand refactor: cmGetFilenameComponentCommand
2019-08-20 14:42:19 -04:00
Gabor Bencze
067d1fa9c0
cmCommand refactor: cmGetDirectoryPropertyCommand
2019-08-20 14:42:19 -04:00
Gabor Bencze
40ba0addac
cmCommand refactor: cmGetCMakePropertyCommand
2019-08-20 14:42:19 -04:00
Gabor Bencze
9bbe95a0e7
cmCommand refactor: cmFunctionCommand
2019-08-20 14:42:19 -04:00
Gabor Bencze
cce3600e3f
cmCommand refactor: cmForEachCommand
2019-08-20 14:42:19 -04:00
Gabor Bencze
3e5eb45ec1
cmCommand refactor: cmExecuteProcessCommand
2019-08-20 14:42:19 -04:00
Gabor Bencze
0d87f5d83e
cmCommand refactor: cmExecProgramCommand
2019-08-20 14:42:19 -04:00
Gabor Bencze
0005e17d50
cmCommand refactor: cmContinueCommand
2019-08-20 14:42:19 -04:00
Gabor Bencze
01949a02df
cmCommand refactor: cmConfigureFileCommand
2019-08-20 14:42:19 -04:00
Gabor Bencze
dc629b5d97
cmCommand refactor: cmCMakeMinimumRequired
2019-08-20 14:42:19 -04:00
Gabor Bencze
e6a27adf9f
cmCommand refactor: cmBreakCommand
2019-08-20 14:42:18 -04:00
Justin Goshi
3b51343ea1
VS: Emit UTF-8 BOM for generated solution files
...
We write UTF-8-encoded content to the `.sln` files, so tell VS to read
them as such.
Fixes : #19594
2019-08-20 11:09:31 -04:00
Christoph Grüninger
66654135c1
ccmake: Fix form.h include with CMAKE_USE_SYSTEM_FORM
...
Some distributions have form.h in ncurses/ next to the ncurses.h found
by FindCurses.
Fixes : #19589
2019-08-20 10:45:32 -04:00
Jon Chronopoulos
1c87bc60ee
ProcessorCount: Fix virtual processor count on Solaris
...
The previous code did not count the number of virtual processors across
physical processors on SunOS.
Can handle the following situations:
```
$ uname -a
SunOS solaris 5.11 11.4.0.15.0 i86pc i386 i86pc
$ psrinfo -p -v
The physical processor has 1 virtual processor (0)
x86 (GenuineIntel 306D2 family 6 model 61 step 2 clock 3492 MHz)
Intel Core Processor (Broadwell)
The physical processor has 1 virtual processor (1)
x86 (GenuineIntel 306D2 family 6 model 61 step 2 clock 3492 MHz)
Intel Core Processor (Broadwell)
The physical processor has 1 virtual processor (2)
x86 (GenuineIntel 306D2 family 6 model 61 step 2 clock 3492 MHz)
Intel Core Processor (Broadwell)
The physical processor has 1 virtual processor (3)
x86 (GenuineIntel 306D2 family 6 model 61 step 2 clock 3492 MHz)
Intel Core Processor (Broadwell)
```
```
$ uname -a
SunOS sol11x86 5.11 11.0 i86pc i386 i86pc
$ psrinfo -p -v
The physical processor has 2 virtual processors (0 1)
x86 (GenuineIntel 50650 family 6 model 85 step 0 clock 2000 MHz)
Intel(r) Xeon(r) Gold 6138 CPU @ 2.00GHz
```
```
$ uname -a
SunOS sol11 5.11 11.0 sun4v sparc sun4v
$ psrinfo -p -v
The physical processor has 2 cores and 16 virtual processors (0-15)
The core has 8 virtual processors (0-7)
The core has 8 virtual processors (8-15)
SPARC-T4 (chipid 0, clock 2848 MHz)
```
2019-08-20 10:26:06 -04:00
Brad King
43fe736b2b
Merge topic 'bash-completion-silent-D-lookup'
...
64aeb520ca bash-completion: silent cmake -D lookup
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3692
2019-08-20 10:18:20 -04:00
Ben Boeckel
d17580909f
cmExportInstallFileGenerator: improve error message
...
Following commit 49cfd390 (cmExportBuildFileGenerator: improve error
message, 2019-06-26), improve the error message related to installed
export sets by referencing the files which contain the exported target
ambiguously.
2019-08-20 10:15:03 -04:00
Hong Xu
76b76a7f9b
FindCUDA: Fix support for backslashes in CUDA_NVCC_INCLUDE_DIRS
...
Backslashes in `CUDA_NVCC_INCLUDE_DIRS` cause syntax errors because it
is written to a generated `.cmake` script as a string literal. Use a
bracket argument to hold the expanded value as we already do for
`CUDA_NVCC_COMPILE_DEFINITIONS`. Then explicitly convert backslashes to
forward slashes.
2019-08-20 09:47:29 -04:00
Brad King
be7807478c
cmDefinitions: Reduce allocation of keys and values in MakeClosure
...
Use `cm::String` to store keys and values so that `MakeClosure` does
not need to allocate new copies of all of them.
Issue: #19581
2019-08-20 09:36:45 -04:00
Brad King
e07e2bc8bb
bootstrap: Compile cm::String
2019-08-20 09:36:45 -04:00
Brad King
c1787cb5eb
cpack.cxx: Re-order include blocks to follow our conventions
2019-08-20 09:36:45 -04:00
Brad King
141e307484
cmConfigure.h: Tell windows.h not to define min/max macros
2019-08-20 09:36:45 -04:00
Craig Scott
ee692e8fdb
Merge topic 'ctest_coverage_help_typo'
...
ccefe9798d Help: Fix typo in ctest_coverage synopsis
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3706
2019-08-20 09:32:42 -04:00
Brad King
a0c8405d68
Merge topic 'trace-redirect'
...
3c94069660 Add --trace-redirect parameter to redirect trace output to a file
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3645
2019-08-20 09:20:49 -04:00
Brad King
b80417f0fd
Merge topic 'cmake-tutorial'
...
6f6a32a0f6 Tutorial: Improve Step 9
6a35d630dc Tutorial: Improve Step 8
61d4d990d6 Tutorial: Improve Step 7
a36731c634 Tutorial: Improve Step 6
df9cdf629c Tutorial: Improve Step 5
442c0f0d46 Tutorial: Improve Step 4
bc64401c3d Tutorial: Improve Step 3
49ce4d6ff4 Tutorial: Improve Step 2
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3528
2019-08-20 09:19:22 -04:00
Brad King
8c1d3e3b79
Merge topic 'find_openacc_targets'
...
f4fc0667ae FindOpenACC: Provide import targets and OpenACC_<lang>_OPTIONS variable
9460501ad7 FindOpenACC: Provide a Fortran snippet that compiles with gfortran
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3670
2019-08-20 09:17:18 -04:00
Brad King
7432297ca0
Merge topic 'help-full'
...
d56a4b16ca Help: Restore installation of top-level index
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3701
2019-08-20 09:15:36 -04:00
Brad King
3d840ac939
Merge branch 'release-3.15'
2019-08-20 08:58:19 -04:00
Brad King
4aff5a0ffa
Merge topic 'ccmake-crash-on-empty-strings-property'
...
154c5f7949 ccmake: handle cache entries with empty STRINGS property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3678
2019-08-20 08:57:37 -04:00
Brad King
feec57e800
Merge branch 'ccmake-crash-on-empty-strings-property' into release-3.15
...
Merge-request: !3678
2019-08-20 08:56:21 -04:00
M Furkan USLU
154c5f7949
ccmake: handle cache entries with empty STRINGS property
...
Fixes : #19585
2019-08-20 08:48:09 -04:00
Sylvain Joubert
ccefe9798d
Help: Fix typo in ctest_coverage synopsis
2019-08-20 10:23:44 +02:00
Kitware Robot
6cf8883a85
CMake Nightly Date Stamp
2019-08-20 00:00:20 -04:00
Alex Turbov
d4e6b2ae25
Refactor: Use unique_ptr instead of raw pointer
2019-08-19 15:25:06 -04:00
Robert Maynard
f4fc0667ae
FindOpenACC: Provide import targets and OpenACC_<lang>_OPTIONS variable
...
Previously the FindOpenACC module had issues where the contents of
OpenACC_<lang>_FLAGS could not be used with target_compile_options
when it contained multiple compiler flags.
2019-08-19 15:20:38 -04:00
Brad King
e3746821df
Merge topic 'swift-mode-flags'
...
4d83e47c05 Swift: define `CMAKE_Swift_FLAGS` correctly
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !3684
2019-08-19 15:08:22 -04:00
Brad King
5f7386dd19
Merge topic 'string-literal-append'
...
da26b3be89 avoid adding multiple consecutive string literals to std::string
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3698
2019-08-19 15:06:47 -04:00
Brad King
0b8524baa6
Merge topic 'cmCryptoHash_string_view'
...
f1c529c4fb cmCryptoHash: Accept cm::string_view input
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3697
2019-08-19 15:05:27 -04:00
Brad King
0f914b7f26
Merge topic 'cmStringAlgorithms_IsOn'
...
3b6c62be23 cmSystemTools: Remove IsInternallyOn, IsNOTFOUND, IsOn, IsOff
20e580be01 Source sweep: Use cmIsOn instead of cmSystemTools::IsOn
5b7650216b cmStringAlgorithms: Add cmIsInternallyOn, cmIsNOTFOUND, cmIsOn, cmIsOff
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3691
2019-08-19 15:03:53 -04:00
Brad King
e977867a12
Merge topic 'solaris_clang'
...
47937219ee Solaris: Add support for Clang compiler
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3672
2019-08-19 14:56:14 -04:00
Brad King
265b23e5c2
Merge branch 'release-3.15'
2019-08-19 14:54:29 -04:00
Brad King
29488892e5
Merge topic 'msvc-runtime-library-flang'
...
ea0294c281 Flang: Implement MSVC runtime library abstraction
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !3674
2019-08-19 14:53:20 -04:00
Ben Boeckel
a18100898a
cmInstallExportGenerator: add a method for the file destination
...
This will be used in the error message which remarks about a target
being exported ambiguously into different installations.
2019-08-19 14:17:17 -04:00
Regina Pfeifer
2dfc52675c
cmAlgorithms: Add cmContains
...
Also, use the new function where applicable.
2019-08-19 20:01:39 +02:00
Kyle Edwards
c41c79285b
Merge topic 'swift-import-library-location'
...
5480f65ab1 Swift: honour `IMPLIB_LOCATION` property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !3686
2019-08-19 13:25:16 -04:00
Betsy McPhail
6f6a32a0f6
Tutorial: Improve Step 9
...
* Move USE_MYMATH from configured header to target_compile_definitions
2019-08-19 11:49:05 -04:00
Betsy McPhail
6a35d630dc
Tutorial: Improve Step 8
...
* Remove comments from CTestConfig.cmake
* Update directions
2019-08-19 11:49:05 -04:00
Betsy McPhail
61d4d990d6
Tutorial: Improve Step 7
...
* Update directions
2019-08-19 11:49:05 -04:00