CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Installation (
-   -   Compile a single lib with different flags (

rztim November 22, 2011 05:37

Compile a single lib with different flags
Hallo Foamers,

I want to build the library "" with different compile flags as the other libs. How is this possible? Is there a special file or environment variable? I tried to modify $WM_CFLAGS and then rebuild the lib, but that did not work. Any ideas?


wyldckat November 22, 2011 16:05

Greetings Tim and welcome to the forum!

I feel like writing this post like a TV advertisement to one of those American shops...

You can find all of your debugging needs 100% satisfied right here in your friendly website near your location:

Best regards,

PS: do you want fries with your order? :p

rztim November 23, 2011 04:42

Thanks Bruno, no fries for me :-P

Ok, that already worked for me. I thought this option file is only for includes and linking.


All times are GMT -4. The time now is 09:19.