Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Build only the actual target to run

Hello,

that bug is not the same as mine.

A possible workaround is to create a new build configuration for every
target, specifying the corresponding target names as parameter for
each of them. (Under the "Behavior" tab, as you wrote.)
Then, under every run configuration you can select the build
configuration, which builds that specific target only.

Not a nice solution, however.

I have tried to assign the target name to an environment variable from
the run configurations, and refer to the variable from a new build
configuration, but it did not work. I have neither found any built in
variables that refers to the target to be executed.

Miklos

On Tue, Nov 30, 2010 at 2:20 PM, Olexiy Buyanskyy <olexiyb@xxxxxxxxx> wrote:
> Hello,
>
> Project/Properties
> C/C++ Build
> Tab Behavior
>
> eclipse platform has bug that may be related to your problem.
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=306746
>
>
>
> --
> Olexiy
>
> On Tue, Nov 30, 2010 at 7:45 AM, Miklos Espak <espakm@xxxxxxxxx> wrote:
>> Hi,
>>
>> if I execute a run configuration, the whole project is build
>> automatically at first. This can be disabled, then nothing is built.
>>
>> If I modify a template class that many build target depends on, the
>> build can take rather long time.
>>
>> Is it possible to make only that target automatically that I want to execute?
>>
>> E.g. if a run configuration refers to the target called "test1", then
>> launching it could trigger "make test1" and not "make all".
>>
>> Is this possible now?
>>
>> Thanks,
>> Miklos
>> _______________________________________________
>> cdt-dev mailing list
>> cdt-dev@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>


Back to the top