MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0012412 | CMake | CMake | public | 2011-08-19 01:41 | 2016-06-10 14:31 |
Reporter | Yuri | ||||
Assigned To | Kitware Robot | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | moved | ||
Platform | PC | OS | Windows | OS Version | XP |
Product Version | CMake 2.8.5 | ||||
Target Version | Fixed in Version | ||||
Summary | 0012412: Visual studio 2010 doesn't execute dependent steps. | ||||
Description | I'm trying to force rebuild of external project when some files in my system change. To do this I added custom build step which depends on file and build step depends on it. But it seems that Visual Studio 2010 checks dependencies for custom build tool only once and computes targets which will be built (it has one target called "Custom build tool"). So to trigger build of external project I has to run build twice. | ||||
Steps To Reproduce | See attached project. | ||||
Additional Information | Log from first build: 1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------ 2>------ Build started: Project: Subproject, Configuration: Debug Win32 ------ 2> Files in external project changed, triggering build. 3>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------ 3> Build all projects ========== Build: 3 succeeded, 0 failed, 1 up-to-date, 0 skipped ========== From second build: 1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------ 2>------ Build started: Project: Subproject, Configuration: Debug Win32 ------ 2> Performing build step for 'Subproject' 2> 2> 2> Microsoft (R) Visual Studio Version 10.0.40219.1. 2> 2> Copyright (C) Microsoft Corp. All rights reserved. 2> 2> 1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------ 2> 2> 2>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------ 2> 2> 2> Build all projects 2> 2> ========== Build: 2 succeeded, 0 failed, 1 up-to-date, 0 skipped ========== 2> 2> Performing install step for 'Subproject' 2> 2> 2> Microsoft (R) Visual Studio Version 10.0.40219.1. 2> 2> Copyright (C) Microsoft Corp. All rights reserved. 2> 2> 1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------ 2> 2> 2>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------ 2> 2> 2> Build all projects 2> 2> 3>------ Build started: Project: INSTALL, Configuration: Debug Win32 ------ 2> 2> 3> -- Install configuration: "Debug" 2> 2> 3> -- Up-to-date: C:/Program Files/othertest/./otherlib.lib 2> 2> ========== Build: 3 succeeded, 0 failed, 1 up-to-date, 0 skipped ========== 2> 2> Completed 'Subproject' 3>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------ 3> Build all projects ========== Build: 3 succeeded, 0 failed, 1 up-to-date, 0 skipped ========== As you can see, on the second run VS understands that file changed and triggers action. | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | ![]() https://public.kitware.com/Bug/file/4012/ep_customstep_test.zip | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2011-08-19 01:41 | Yuri | New Issue | |||
2011-08-19 01:41 | Yuri | File Added: ep_customstep_test.zip | |||
2011-08-19 09:25 | David Cole | Assigned To | => David Cole | ||
2011-08-19 09:25 | David Cole | Status | new => assigned | ||
2011-08-19 16:54 | David Cole | Note Added: 0027250 | |||
2011-08-22 04:05 | Yuri | Note Added: 0027258 | |||
2012-08-13 15:40 | David Cole | Status | assigned => backlog | ||
2012-08-13 15:40 | David Cole | Note Added: 0030621 | |||
2012-11-21 14:57 | David Cole | Note Added: 0031651 | |||
2012-11-21 15:02 | David Cole | Assigned To | David Cole => | ||
2016-06-10 14:28 | Kitware Robot | Note Added: 0041888 | |||
2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|