- Jan 21, 2016
-
-
Brad King authored
CMake 3.4 may crash on this case. The problem seems to have been fixed since then, but keep it working by adding a test case now. Reported-by:
Gonzalo Garramuño <ggarra13@gmail.com>
-
Kitware Robot authored
-
- Jan 20, 2016
-
-
1040e690 cmSystemTools: Teach RunSingleCommand to merge child pipes when possible ce3b713b cmSystemTools: Simplify RunSingleCommand output string construction dc039cc0 cmSystemTools: Drop redundant condition in RunSingleCommand ffa2a8c9 cmSystemTools: Rename OUTPUT_NORMAL to OUTPUT_FORWARD to clarify its purpose 92e9bb21 cmcmd.cxx: Remove unused code in __run_iwyu implementation fb1526f5 cmake: Change `-E chdir` to pass through stdout/stderr directly
-
a15e375c Fix MFC setting on utility targets (#15867)
-
77cd74a3 Print line number of cache parse errors (#11109)
-
18c3714f UseJava: Fix create_javah CLASSPATH handling on Windows
-
53511936 FindPkgConfig: Quote ${_pkgconfig_path} to protect semicolons on Windows
-
Kitware Robot authored
-
- Jan 19, 2016
-
-
Clinton Stimpson authored
Multi-byte MFC is deprecated, and some projects will not compile if MFC is enabled.
-
Brad King authored
Audit the code to make sure there are no callers that use OUTPUT_MERGE with separate capture strings. Then change RunSingleCommand to implement output merging by giving the child process a single pipe for both its stdout and stderr descriptors. This will more cleanly merge the content on atomic write boundaries in the child instead of on arbitrary buffering boundaries in the parent.
-
Brad King authored
Assign to the result strings instead setting to empty and appending. The old approach was left from when we directly buffered output in the strings.
-
Brad King authored
The output processing loop is already guarded by a condition so we do not need to repeat the condition inside the loop.
-
Brad King authored
The OUTPUT_NORMAL value is not really "normal" and has only one caller. Rename it to OUTPUT_FORWARD to clarify that we are explicitly forwarding the output.
-
Brad King authored
Do not try to capture stderr with OUTPUT_PASSTHROUGH. RunSingleCommand will never populate it.
-
Brad King authored
Use OUTPUT_PASSTHROUGH instead of OUTPUT_NORMAL in order to avoid buffering the output just to re-print it.
-
Brad King authored
-
Brad King authored
-
Preserve semicolons in the value.
-
Track the line number while parsing `CMakeCache.txt` files and include it in a parse failure error message.
-
8979a107 FindPkgConfig: Fix restoration of PKG_CONFIG_PATH in environment
-
83d63391 ExternalProject: Add option to set `git clone -o` argument
-
6e92f7b2 Help: Document the CMAKE_EXPORT_COMPILE_COMMANDS variable
-
6ccc3070 FindCUDA: Support special characters in path (#15919)
-
3ec92267 install: Do not remove compiler-defined RPATH entries
-
09b2f1c3 Windows: Find Program Files directories more robustly from environment
-
Kitware Robot authored
-
- Jan 18, 2016
-
-
Kitware Robot authored
-
- Jan 17, 2016
-
-
Kitware Robot authored
-
- Jan 16, 2016
-
-
Kitware Robot authored
-
- Jan 15, 2016
-
-
-
Some compilers may add their own RPATH entries when invoking the linker. For example, a GCC installation may contain the following definition in the specs file: *link_libgcc: %D -rpath <<some specific rpath in which libstdc++.so can be found>> In this case binaries may contain RPATH entries that CMake did not add. When we update the RPATH on installation we must preserve these entries even if CMake thinks the INSTALL_RPATH value should be empty. Fix this by always using file(RPATH_CHANGE) and teach it to behave as file(RPATH_REMOVE) if the actual RPATH in the file is empty after replacing the build-tree RPATH with the install-tree RPATH. This will preserve any compiler-added RPATH value instead of removing it.
-
Add a `GIT_REMOTE_NAME` option to `ExternalProject_Add` to support git clone --origin <name> Default to `origin` if not specified.
-
Brad King authored
In Modules/Platform/WindowsPaths.cmake our previously recorded environment variable combinations no longer seem to be correct. For example, a 64-bit cmake binary may see ProgramW6432 in the environment and end up not considering the "ProgramFiles(x86)" variable. Instead check for all possible environment variables in the preferred order and then remove duplicates. Reported-by:
Shawn Waldon <shawn.waldon@kitware.com>
-
Brad King authored
The target_link_libraries command records the PRIVATE dependencies of a STATIC library in INTERFACE_LINK_LIBRARIES as "$<LINK_ONLY:dep>". This hides the target name from export namespacing logic inside a generator expression. When user-written generator expressions reference a target name they must put it inside a "$<TARGET_NAME:dep>" expression to allow the export logic to rename the target. In the case that the private dependency is not already a generator expression, target_link_libraries must use "$<LINK_ONLY:$<TARGET_NAME:dep>>" to allow the export logic to rename the target. Reported-by:
Tamás Kenéz <tamas.kenez@gmail.com>
-
Brad King authored
-
Brad King authored
Use cmake_policy(PUSH/POP) to isolate CMP0022 policy changes.