| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
0622f92d CTest: Remove code to fix scanbuild errors
|
| |
| |
| |
| |
| |
| | |
Remove code from cmParseBlanketJSCoverage.cxx and
cmParseDelphiCoverage.cxx which caused scanbuild errors
about not reading the value that was stored.
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
2e92570b Fix some Clang -Wstring-conversion warnings
|
| |
| |
| |
| |
| | |
Some false positives, but some flagged faulty asserts
where the ! was inside the string instead of outside.
|
|\ \
| | |
| | |
| | |
| | | |
97b65f81 Misc. fixes for the Oracle / Sun compiler.
|
| | |
| | |
| | |
| | |
| | |
| | | |
A few pieces of code have some ambiguous type deduction that seems to
resolve correctly for most compilers but not for the Oracle compiler.
This makes those few instances more explicit.
|
| | | |
|
| | | |
|
| |/
|/| |
|
|\ \
| | |
| | |
| | |
| | | |
d8589e64 ctest: count errors from scripts properly
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In the unlikely event that someone has a billion+ scripts (or some
codepath returns negative numbers), we could overflow and make a pile of
errors a non-error. This change also allows us to use flags for the
error in the future rather than just "something went wrong".
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
111be180 Rename header guards to not start with double underscore
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Use regex to find/replace:
__(cm.*_h)
\1
Then fix QCMake.h by hand.
|
|/ / |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
ce331bab find_library: Fix repeat call after changing directory content (#15293)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We use cmGlobalGenerator::GetDirectoryContent to avoid repeating
directory listings. However, GetDirectoryContent loads content from
disk at most once. This breaks find_library calls that occur when disk
content has changed since preceding find_library calls.
Teach cmGlobalGenerator::GetDirectoryContent to save the directory
modification time when content is loaded and re-load content if it
changes.
Create a RunCMake.find_library test with a case covering this.
|
|/ |
|
|\
| |
| |
| |
| |
| |
| |
| | |
6c67b816 Makefile: Workaround Borland Make bug with multiple outputs
65ea5eb7 Tests: Cover rebuild with multiple custom command outputs (#15116)
644b4688 Makefile: Fix rebuild with multiple custom command outputs (#15116)
8a4c6d2d Xcode: Fix rebuild with multiple custom command outputs (#15116)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Given a rule of the form
out1 out2: dep1
out1 out2: dep2
Borland Make complains that there are multiple rules for "out1"
even though this works when there is only one output. Instead
generate
out1 out2: dep1 dep2
for Borland Make, but only when there are multiple outputs.
|
| |
| |
| |
| |
| |
| |
| | |
Fix the generated makefiles for custom commands with multiple outputs to
list all the outputs on the left hand side of the build rule. This is
much simpler and more reliable than the old multiple-output-pair
infrastructure.
|
| |
| |
| |
| |
| |
| |
| |
| | |
The Xcode generator uses Makefiles under a run-script build-phase to
drive custom commands. Fix the generated makefiles for custom commands
with multiple outputs to list all the outputs on the left hand side of
the build rule. This is much simpler and more reliable than the old
multiple-output-pair infrastructure.
|
|\ \
| | |
| | |
| | |
| | | |
97841dad file: Use 'long' to represent the parsed LOCK TIMEOUT value
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Convert the StringToInt helper into a StringToLong helper with a 'long'
result type. This will make the helper more useful to other callers
that want to use strtol.
While at it, also check errno after calling strtol in case the
conversion fails with a range error.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
29b0c8c3 ctest --launch: write to cout and cerr in binary
|
| |/ /
| | |
| | |
| | |
| | |
| | | |
Because ctest reads in binary but writes in text mode, Windows' newline
transformation can be applied multiple times causing '\n' in the source
application to be written out as '\r\r\n' instead.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
f545eb0b VS: Inherit target-level "-wd" flags in source files (#15284)
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
If a source file COMPILE_FLAGS option adds "-wd", the .vcxproj file
will have a DisableSpecificWarnings setting for the source file.
Add to the setting a reference to %(DisableSpecificWarnings) to
inherit any such flags set for the whole target.
|
|\ \ \
| | | |
| | | |
| | | |
| | | |
| | | | |
88eb5824 try_compile: Pass linker flags into test project (#14066)
a4f9b6f0 CMakeDetermineCompilerABI: Use normal linker flags in ABI project
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Copy CMAKE_EXE_LINKER_FLAGS into the test project generated by
try_compile, just like we already copy CMAKE_<LANG>_FLAGS.
Add CMake Policy CMP0056 to activate this behavior in a compatible way,
but do not warn by default when the policy is not set since it will
affect all try_compile calls.
Extend the RunCMake.try_compile test with a case covering this behavior
for each policy setting.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When compiling the ABI detection test project, do not override
CMAKE_EXE_LINKER_FLAGS completely. The normally selected value of this
variable may influence how the link is done and may be needed to be
representative of how the calling project will be built. Instead pass a
variable that try_compile will reference as additional flags. Leave
this behavior of try_compile undocumented for now.
|
| | | | |
|
| | | | |
|
| |_|/
|/| | |
|
| |/
|/| |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
ceecd790 cmMakefile: store the number of last matches in a CMake var
7878d061 test: add a test for clearing regex results
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
With PushScope and PopScope, keeping track of another bit of data for
each scope isn't easy. Instead, store it as another CMake variable so it
gets implicitly tracked along with everything else.
This works in a revert of commit
7d674b5f0b28a610333644d417c2e8cb796cc9e4.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
bd360ee3 add_library: Fix target type check for non-shared-lib platforms
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When checking target types for TARGET_SUPPORTS_SHARED_LIBS == false,
enumerate exactly the library types not supported rather than trying to
maintain a list of all the types that are supported. Otherwise
add_library(SomeImportedLib UNKNOWN IMPORTED)
warns on platforms that do not support shared libraries.
Reported-by: Kelly Thompson <kgt@lanl.gov>
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
955fbf29 VS: Fix typo in VS_SHADER_MODEL lookup comment
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
352f246f VS: Add source file property to specify Windows App deployment location
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add a VS_DEPLOYMENT_LOCATION source file property to specify where to
put files that are part of the package. For example:
set_property(SOURCE ${ASSET_FILES} PROPERTY VS_DEPLOYMENT_LOCATION "assets")
Without this, sources marked with VS_DEPLOYMENT_CONTENT cannot be
located properly.
|
| |_|_|/
|/| | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
93017828 Help: Add notes for topic 'file-LOCK-command'
e6db4c5a file: Add LOCK subcommand to do file and directory locking
05d6531c cmSystemTools: Add StringToInt helper
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Provide options to fail without blocking or to block up to a timeout.
Provide options to specify the scope containing the lock so it can be
released automatically at the end of a function, file, or process.
Extend the RunCMake.file test with cases covering the file(LOCK) command
usage and error cases.
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
Convert a string to a signed integer and reject any extra input.
Co-Author: Rolf Eike Beer <eike@sf-mail.de>
|