Pelles C forum

Pelles C => General discussions => Topic started by: czerny on September 30, 2014, 04:43:28 PM

Title: access environment variables in the ide
Post by: czerny 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)?


Title: Re: access environment variables in the ide
Post by: TimoVJL on September 30, 2014, 05:07:52 PM
+COPY $@ $(PellesCDir)\bin\Wizard
Title: Re: access environment variables in the ide
Post by: czerny on September 30, 2014, 05:24:35 PM
Thanks!