NO

Author Topic: Diffrents project names  (Read 702 times)

Offline HellOfMice

  • Member
  • *
  • Posts: 62
  • Never be pleased, always improve
Diffrents project names
« on: October 24, 2023, 04:39:13 PM »
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 ...
--------------------------------
Kenavo

Online Vortex

  • Member
  • *
  • Posts: 792
    • http://www.vortex.masmcode.com
Re: Diffrents project names
« Reply #1 on: October 24, 2023, 07:59:49 PM »
That should be possible, did you try the IDE?
Code it... That's all...

Offline HellOfMice

  • Member
  • *
  • Posts: 62
  • Never be pleased, always improve
Re: Diffrents project names
« Reply #2 on: October 24, 2023, 08:11:02 PM »
What is possible creating a project wokspace?
--------------------------------
Kenavo

Online Vortex

  • Member
  • *
  • Posts: 792
    • http://www.vortex.masmcode.com
Re: Diffrents project names
« Reply #3 on: October 24, 2023, 08:15:01 PM »
Hello,

In the project options, you should be able to set the executable name.
Code it... That's all...

Offline John Z

  • Member
  • *
  • Posts: 786
Re: Diffrents project names
« Reply #4 on: October 25, 2023, 11:56:04 AM »
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

Offline HellOfMice

  • Member
  • *
  • Posts: 62
  • Never be pleased, always improve
Re: Diffrents project names
« Reply #5 on: October 25, 2023, 04:50:32 PM »
The problem is solved in making many project workspace file (*.ppw).
I found an other problem: I use DLL that I have coded myself for the language files.
How to be sure that CoFeE-AVX2.exe will use the AVX2 langugage files?
See the new version for knowing how I have made.
Not simple but know I am sure of what I do.
Thank you for your help.

https://www.mediafire.com/file/8m862l3fmcd8c5b/CoFeE_V2.7z/file
« Last Edit: October 25, 2023, 04:54:04 PM by HellOfMice »
--------------------------------
Kenavo

Offline John Z

  • Member
  • *
  • Posts: 786
Re: Diffrents project names
« Reply #6 on: October 26, 2023, 12:23:18 PM »
I can't see that being a big issue the AVX2 help files either have _avx2 names or are in a different sub directory.
The main software must already know if it is running AVX2 code or not so can change the path to the help files.

However I don't know anything about AVX2 - if it is just vector commands I don't know why different help files would be needed.  I am going to investigate more today .

John Z


P.S. Would be nice to have a timer or tick counter in the bottom status bar to see how long each transformation takes.
I ran each version regular, SSE, AVX hard to tell performance difference.  Later will try running two at once.
Very informative that you've got three four different instruction sets going
« Last Edit: October 26, 2023, 02:46:11 PM by John Z »

Offline HellOfMice

  • Member
  • *
  • Posts: 62
  • Never be pleased, always improve
Re: Diffrents project names
« Reply #7 on: October 26, 2023, 02:14:51 PM »
Ok I add a counter/timer.
Be patient.
--------------------------------
Kenavo