Alneos / vega

Finite element format converter
GNU General Public License v2.0
23 stars 9 forks source link

Cmake profiles for release and debug #4

Closed ThomasAbballe closed 8 years ago

ThomasAbballe commented 8 years ago

Hi all,

As of today, they are only two available cmake profiIes: Debug (dynamic compilation) and Release (static compilation). I think it would be nice to distinguished the type of compilation (dynamic or static) from the use of compilation (debug or release). For example, a release version would not use valgrind, be it in Linux or Cygwin.

I propose to have the four profiles:

What do you think of it? Will it suit your need? Are the name clear? Cheers, Thomas

ldallolio commented 8 years ago

Debug<->Dynamic and Release<->Static were motivated by:

Other than that, why not :-)

ThomasAbballe commented 8 years ago

Here is a dot-to-dot answer:

I'll work a bit on the subject, and come back with more info/experience/solution on the topic.

ThomasAbballe commented 8 years ago

Okay. Changes implemented in the commit cc81e35.

Let me know if something broke!

ThomasAbballe commented 8 years ago

Finished, i hope, with 886510bd73dc2f133155c3b87643ca5722d25b2c