Forum Message

 

 

We have moved the forum to https://forum.ngsolve.org . This is an archived version of the topics until 05/05/23. All the topics were moved to the new forum and conversations can be continued there. This forum is just kept as legacy to not invalidate old links. If you want to continue a conversation just look for the topic in the new forum.

Notice

The forum is in read only mode.

Cmake configuration issues for building static netgen libs

More
3 years 1 month ago #3577 by rick42
I'm trying to configure Cmake to build static netgen libraries and have gotten quite far by basically setting

set(NG_LIB_TYPE SHARED)
add_library(nglib STATIC nglib.cpp ${nglib_objects})

to STATIC instead of SHARED which has built most static .a libs, but I can't seem to find how to configure libngcore.so to build statically. Does anyone have any idea or tips what or where to change (new to cmake so just trying to do it by trial and error).
Time to create page: 0.153 seconds