7900eeff9da1fedd78304688c7705ac5f1cb3ec8
[platform/upstream/llvm.git] / flang / lib / Semantics / CMakeLists.txt
1 #===-- lib/Semantics/CMakeLists.txt ----------------------------------------===#
2 #
3 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 # See https://llvm.org/LICENSE.txt for license information.
5 # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 #
7 #===------------------------------------------------------------------------===#
8
9 add_library(FortranSemantics
10   assignment.cpp
11   attr.cpp
12   canonicalize-do.cpp
13   canonicalize-omp.cpp
14   check-allocate.cpp
15   check-arithmeticif.cpp
16   check-call.cpp
17   check-coarray.cpp
18   check-data.cpp
19   check-deallocate.cpp
20   check-declarations.cpp
21   check-do-forall.cpp
22   check-if-stmt.cpp
23   check-io.cpp
24   check-nullify.cpp
25   check-omp-structure.cpp
26   check-purity.cpp
27   check-return.cpp
28   check-stop.cpp
29   expression.cpp
30   mod-file.cpp
31   pointer-assignment.cpp
32   program-tree.cpp
33   resolve-labels.cpp
34   resolve-names.cpp
35   resolve-names-utils.cpp
36   rewrite-parse-tree.cpp
37   scope.cpp
38   semantics.cpp
39   symbol.cpp
40   tools.cpp
41   type.cpp
42   unparse-with-symbols.cpp
43 )
44
45 target_link_libraries(FortranSemantics
46   FortranCommon
47   FortranEvaluate
48 )
49
50 install (TARGETS FortranSemantics
51   ARCHIVE DESTINATION lib
52   LIBRARY DESTINATION lib
53   RUNTIME DESTINATION bin
54 )