Brad King
|
d5719f22c1
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.
|
19 tahun lalu |
Bill Hoffman
|
3c8e899102
ENH: add support for per config target LINK_FLAGS
|
19 tahun lalu |
Ken Martin
|
00d2546664
ENH: removed unused rules from targets for VS
|
19 tahun lalu |
Ken Martin
|
3d96e52261
STYLE: some m_ to this-> cleanup
|
19 tahun lalu |
Andy Cedilnik
|
c4156b4531
COMP: Even more global target fixes
|
19 tahun lalu |
Andy Cedilnik
|
07d0e776ad
BUG: More fixing of support for global target son visual studio
|
19 tahun lalu |
Brad King
|
7bdec94154
BUG: Add target-level COMPILE_FLAGS to the target not the individual source files. This simplifies the generated files and puts flags in a more logical order (VS6 works, VS7 needs more translation to work).
|
19 tahun lalu |
Brad King
|
9ba0283870
ENH: If CMAKE_NO_AUTOMATIC_INCLUDE_DIRECTORIES is not set try to approximate in-source build include file behavior in an out-of-source build by adding the build tree directory corresponding to a source tree directory at the beginning of the include path. Also fixed VS6 and VS7 generators to use cmLocalGenerator's computation of include paths. The VS6 generator will now short-path the include directories if the total length is too long in order to try to avoid its truncation limit.
|
19 tahun lalu |
Brad King
|
916ea2bad2
BUG: Avoid adding unused rules to special targets like ALL_BUILD. Make sure project regeneration rules go only in desired targets.
|
19 tahun lalu |
Brad King
|
0748f6ae34
COMP: Removed unused variables.
|
20 tahun lalu |
Brad King
|
1b5e3f4136
BUG: Fixed generation of cmake re-run rules.
|
20 tahun lalu |
Brad King
|
c6741363de
ENH: Enabled new WORKING_DIRECTORY option to ADD_CUSTOM_COMMAND and ADD_CUSTOM_TARGET on VS 6 generator.
|
20 tahun lalu |
Bill Hoffman
|
347c5f4b46
ENH: add working directory support
|
20 tahun lalu |
Bill Hoffman
|
07ef88c985
ENH: add COMPILE_FLAGS to targets
|
20 tahun lalu |
Brad King
|
22c62c9e65
BUG: Sweeping changes to cleanup computation of target names. This should
|
20 tahun lalu |
Bill Hoffman
|
a91947039a
ENH: for all custom commands that can not be given to a target, add them to all targets in the current makefile
|
20 tahun lalu |
Brad King
|
05e6c3f3ba
BUG: Fixed OUTPUT_NAME feature for VS6 generator. It was not working for Debug builds and was not paying attention to the executable output path.
|
20 tahun lalu |
Bill Hoffman
|
3d5a724deb
BUG: revert part of patch that set executable debug prefix as it breaks too much stuff
|
20 tahun lalu |
Bill Hoffman
|
19ae75a934
BUG: try to fix failed test
|
20 tahun lalu |
Bill Hoffman
|
aa47caab2d
FIX: apply patch from bug# 1965
|
20 tahun lalu |
Ken Martin
|
369308ca76
ENH: make LOCATION an computed property of the target and get rid of a bunch of const junk
|
20 tahun lalu |
Ken Martin
|
fbf40e202a
ENH: add first cut at support for exe with same name as lib
|
20 tahun lalu |
Ken Martin
|
708828dc37
ENH: removed old convert calls
|
20 tahun lalu |
Brad King
|
15c7d45ecd
BUG: Fixed ordering of multiple commands in a custom target when implemented as custom commands. Also added support to execute pre-build rules first to be consistent with makefile generator.
|
20 tahun lalu |
Ken Martin
|
345cf04012
ENH: big change that includes immediate subdir support, removing the notion of inherited commands, makefiles no longer read in the parent makefiles but instead inherit thier parent makefiles current settings
|
20 tahun lalu |
Brad King
|
77e22a7d70
BUG: Replaced previous fix with an implementation of properly formatting the custom build code in the generated file.
|
20 tahun lalu |
Ken Martin
|
a5501b11f6
FIXTHIS THING: fix the bug
|
20 tahun lalu |
Brad King
|
397dc1cef5
ENH: Converted some ConvertToRelativeOutputPath calls to ConvertToOptionallyRelativeOutputPath in preparation for making ConvertToRelativeOutputPath always convert. Some of these might be able to be switched back but we will first have to test what paths can be relative in the generate VS project files.
|
20 tahun lalu |
Brad King
|
77194207ce
BUG: Need proper newline argument to ConstructScript call.
|
20 tahun lalu |
Brad King
|
39af9ee1e4
ENH: Updated implementation of custom commands. Multiple command lines are now supported effectively allowing entire scripts to be written. Also removed extra variable expansions and cleaned up passing of commands through to the generators. The command and individual arguments are now kept separate all the way until the generator writes them out. This cleans up alot of escaping issues.
|
20 tahun lalu |