[flang] Remove SHARED from add_library(), use cmake command line option instead
authorpeter klausler <pklausler@nvidia.com>
Sat, 19 Jan 2019 23:30:25 +0000 (15:30 -0800)
committerpeter klausler <pklausler@nvidia.com>
Wed, 23 Jan 2019 00:31:20 +0000 (16:31 -0800)
Original-commit: flang-compiler/f18@6644c799a7dc583331bea9853700c2ba69bbab4e
Reviewed-on: https://github.com/flang-compiler/f18/pull/265
Tree-same-pre-rewrite: false

flang/lib/common/CMakeLists.txt
flang/lib/evaluate/CMakeLists.txt
flang/lib/parser/CMakeLists.txt
flang/lib/semantics/CMakeLists.txt
flang/runtime/CMakeLists.txt

index 30a32b9..b76033f 100644 (file)
@@ -12,8 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-add_library(FortranCommon SHARED
+add_library(FortranCommon
   default-kinds.cc
   idioms.cc
 )
-
index ac1c914..ce53274 100644 (file)
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-add_library(FortranEvaluate SHARED
+add_library(FortranEvaluate
   call.cc
   common.cc
   complex.cc
index 1fb5cd1..090ffbf 100644 (file)
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-add_library(FortranParser SHARED
+add_library(FortranParser
   char-buffer.cc
   char-set.cc
   characters.cc
index 42304a9..0f55e85 100644 (file)
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-add_library(FortranSemantics SHARED
+add_library(FortranSemantics
   assignment.cc
   attr.cc
   canonicalize-do.cc
index 72b6945..72fd634 100644 (file)
@@ -12,7 +12,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-add_library(FortranRuntime SHARED
+add_library(FortranRuntime
   ISO_Fortran_binding.cc
   derived-type.cc
   descriptor.cc