NO

Author Topic: access environment variables in the ide  (Read 2221 times)

czerny

  • Guest
access environment variables in the ide
« on: September 30, 2014, 04:43:28 PM »
The ide's project window has two tabs. The second is named 'Target files'.
If this is selected, I can right-click my compiled dll and get a context menu where I can select
'properties -> build commands'.

I would like to copy my target to a certain place, using environment variables.

For example I would like to copy in the folder:

%PellesCDir%\Bin\Wizards

But the compiler says: 'invalid macro'

I need to use environment variables because I use different installations of Pelles C.

Is there a simple workaround (without using a batch file)?



Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2091
Re: access environment variables in the ide
« Reply #1 on: September 30, 2014, 05:07:52 PM »
+COPY $@ $(PellesCDir)\bin\Wizard
May the source be with you

czerny

  • Guest
Re: access environment variables in the ide
« Reply #2 on: September 30, 2014, 05:24:35 PM »
Thanks!