[Openmp-commits] [PATCH] D16525: Add CMAKE variable to enable creation of static OpenMP libraries instead of dynamic ones
Jonathan Peyton via Openmp-commits
openmp-commits at lists.llvm.org
Thu Feb 4 08:28:36 PST 2016
jlpeyton added inline comments.
================
Comment at: runtime/CMakeLists.txt:280-283
@@ -279,1 +279,6 @@
+# Shared library can be switched to a static library
+set(LIBOMP_STATIC_LIBRARY FALSE CACHE BOOL
+ "Static library instead of shared library?")
+
+if(WIN32 AND LIBOMP_STATIC_LIBRARY)
----------------
Ok, I do think we should mimic libc++ to keep the interface similar. Sorry John, but can you change it to LIBOMP_ENABLE_SHARED which is on be default?
Just an FYI,
The BUILD_SHARED_LIBS variable is actually a standard CMake variable (with no CMAKE_ prefix).
Repository:
rL LLVM
http://reviews.llvm.org/D16525
More information about the Openmp-commits
mailing list