Skip to content
Snippets Groups Projects
Commit 48dda5a2 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts
Browse files

add gmsh_dynamic CMake target : a tiny gmsh executable that link to the

gmsh dynamic library
parent 791ff985
No related branches found
No related tags found
No related merge requests found
...@@ -1138,4 +1138,6 @@ if(ENABLE_SWIG_EXPERIMENTAL) ...@@ -1138,4 +1138,6 @@ if(ENABLE_SWIG_EXPERIMENTAL)
SET_SOURCE_FILES_PROPERTIES(Common/gmshpy.i PROPERTIES CPLUSPLUS ON) SET_SOURCE_FILES_PROPERTIES(Common/gmshpy.i PROPERTIES CPLUSPLUS ON)
SWIG_ADD_MODULE(gmshpy python Common/gmshpy.i) SWIG_ADD_MODULE(gmshpy python Common/gmshpy.i)
SWIG_LINK_LIBRARIES(gmshpy ${PYTHON_LIBRARIES} ${EXTERNAL_LIBRARIES} ${LINK_LIBRARIES} shared) SWIG_LINK_LIBRARIES(gmshpy ${PYTHON_LIBRARIES} ${EXTERNAL_LIBRARIES} ${LINK_LIBRARIES} shared)
add_executable(gmsh_dynamic Fltk/Main.cpp)
target_link_libraries(gmsh_dynamic ${LINK_LIBRARIES} shared ${EXTERNAL_LIBRARIES})
endif(ENABLE_SWIG_EXPERIMENTAL) endif(ENABLE_SWIG_EXPERIMENTAL)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment