Pelles C > General discussions

Diffrents project names

(1/2) > >>

HellOfMice:
I would like to know if it is possible to have a new name for each project mode.

Example:

Mode AVX2 ----> Toto.Avx2.exe
Mode SSE2 ----> Toto.Sse2.exe

I think I must duplicate the project to have a new name corresponding to the mode and create a project workspace but ...

Vortex:
That should be possible, did you try the IDE?

HellOfMice:
What is possible creating a project wokspace?

Vortex:
Hello,

In the project options, you should be able to set the executable name.

John Z:
Sir Grincheux,

There is no option in the Project Options pages (that I could find) to set the final exe name.

I suggest the easiest way it to copy the ppj file to a new name in the same directory.
Then edit it with a suitable text editor and change the output filename to your new one.
Then just click the chosen ppj to run. All files will be in common initially.

The section to edit:
#
# Build Grincheux.exe.
#
Grincheux.exe: \
   output\ListViewProgressBar.obj \
   output\main.obj \
   output\main.res
   $(LINK) $(LINKFLAGS) -out:"$@" $**

Edit with care be sure to keep a untouched backup copy in case of error.

John  Z

Navigation

[0] Message Index

[#] Next page

Go to full version