Commit eb70223e authored by Christophe Geuzaine's avatar Christophe Geuzaine

rename import library (libgmsh.dll.a -> gmsh.lib)

parent 81f55660
Pipeline #2222 canceled with stage
in 62 minutes and 21 seconds
......@@ -1494,6 +1494,8 @@ if(ENABLE_BUILD_SHARED OR ENABLE_BUILD_DYNAMIC)
set_target_properties(shared PROPERTIES PREFIX "")
set_target_properties(shared PROPERTIES IMPORT_PREFIX "")
set_target_properties(shared PROPERTIES IMPORT_SUFFIX "lib")
set_target_properties(shared PROPERTIES COMPILE_FLAGS -DGMSH_DLL_EXPORT)
endif(WIN32 OR CYGWIN)
target_link_libraries(shared ${LINK_LIBRARIES})
......@@ -49,7 +49,7 @@ example, to compile a C++ example with Microsoft Visual Studio 2017 in the
Visual Studio shell:
C:\gmsh-git-Windows64-sdk> ren include\gmsh.h_cwrap gmsh.h
C:\gmsh-git-Windows64-sdk> cl /Iinclude share\doc\gmsh\demos\api\simple.cpp lib\libgmsh.dll.a
C:\gmsh-git-Windows64-sdk> cl /Iinclude share\doc\gmsh\demos\api\simple.cpp lib\gmsh.lib
C:\gmsh-git-Windows64-sdk> cd lib
C:\gmsh-git-Windows64-sdk\lib> ..\simple.exe
......@@ -14,6 +14,7 @@ resources, see
SDK layout:
* lib/*gmsh*.{so,dll,dylib}: shared Gmsh library
* lib/gmsh.lib: import library (Windows only)
* lib/ Python module
* lib/gmsh.jl: Julia module
* include/gmsh.h: C++ API header
......@@ -24,7 +25,7 @@ SDK layout:
* The C API (as well as the Python and Julia bindings, which use the C API
* The C API (as well as the Python and Julia bindings, which use the C API
internally) should work with most compilers.
* The C++ API will only work if your compiler has the same Application Binary
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment