www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12518] New: Add ability to not rebuild the project on file with custom build tool change

reply d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12518

           Summary: Add ability to not rebuild the project on file with
                    custom build tool change
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: VisualD
        AssignedTo: nobody puremagic.com
        ReportedBy: verylonglogin.reg gmail.com


--- Comment #0 from Denis Shelomovskij <verylonglogin.reg gmail.com> 2014-04-04
17:32:59 MSK ---
There are two general cases:

1. The file output is only linked with the project (e.g. *.h or *.rc file
generating a *.res file).
    Here only relink is needed, no recompiling.

2. The file output is just put into the target directory (e.g. program
configuration file).
    This file should be only copied, no building action should be preformed.

As a solution I suggest to make "Add output to link" checkbox forcing a #1
behaviour and add "External file" or "Not cause rebuild" checkbox for #2 one.

It will be also useful to make it easy to mark file for just copying to target
directory.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 04 2014
parent d-bugmail puremagic.com writes:
https://d.puremagic.com/issues/show_bug.cgi?id=12518


Rainer Schuetze <r.sagitario gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r.sagitario gmx.de


--- Comment #1 from Rainer Schuetze <r.sagitario gmx.de> 2014-04-04 10:36:34
PDT ---
Makes sense to not force a compile and link step if a custom rule does not
contribute to the link. Splitting compile and link into separate steps is a bit
more work as it needs other dependency checks. A custom build step might also
contribute to compilation (e.g. by generating a string import file).

Regarding #2: How about adding a build tool "Copy", that could also update the
modification date of the target?

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Apr 04 2014