https://github.com/Kitware/CMake
Revision d5719f22c1dca3e100f1e3b5dfaa4fe7d26796a0 authored by Brad King on 11 April 2006, 15:06:19 UTC, committed by Brad King on 11 April 2006, 15:06:19 UTC
1 parent b613cf0
Tip revision: d5719f22c1dca3e100f1e3b5dfaa4fe7d26796a0 authored by Brad King on 11 April 2006, 15:06:19 UTC
ENH: Added support for multiple outputs generated by a single custom command. For Visual Studio generators the native tool provides support. For Xcode and Makefile generators a simple trick is used. The first output is considered primary and has the build rule attached. Other outputs simply depend on the first output with no build rule. During cmake_check_build_system CMake detects when a secondary output is missing and removes the primary output to make sure all outputs are regenerated. This approach always builds the custom command at the right time and only once even during parallel builds.
ENH: Added support for multiple outputs generated by a single custom command. For Visual Studio generators the native tool provides support. For Xcode and Makefile generators a simple trick is used. The first output is considered primary and has the build rule attached. Other outputs simply depend on the first output with no build rule. During cmake_check_build_system CMake detects when a secondary output is missing and removes the primary output to make sure all outputs are regenerated. This approach always builds the custom command at the right time and only once even during parallel builds.
Tip revision: d5719f2
File | Mode | Size |
---|---|---|
Docs | ||
Example | ||
Modules | ||
Source | ||
Templates | ||
Tests | ||
Utilities | ||
.gitattributes | -rw-r--r-- | 305 bytes |
CMake.pdf | -rw-r--r-- | 491.4 KB |
CMake.rtf | -rw-r--r-- | 1.7 MB |
CMakeGraphVizOptions.cmake | -rw-r--r-- | 153 bytes |
CMakeLists.txt | -rw-r--r-- | 9.1 KB |
CMakeLogo.gif | -rw-r--r-- | 2.2 KB |
CTestConfig.cmake | -rw-r--r-- | 307 bytes |
CTestCustom.ctest.in | -rw-r--r-- | 1.1 KB |
ChangeLog.txt | -rw-r--r-- | 1022.3 KB |
Copyright.txt | -rw-r--r-- | 2.1 KB |
DartConfig.cmake | -rw-r--r-- | 2.2 KB |
bootstrap | -rwxr-xr-x | 42.4 KB |
cmake.1 | -rw-r--r-- | 3.6 KB |
cmake_uninstall.cmake.in | -rw-r--r-- | 808 bytes |
configure | -rwxr-xr-x | 114 bytes |
doxygen.config | -rw-r--r-- | 27.7 KB |
Computing file changes ...