1 #===-- lib/Semantics/CMakeLists.txt ----------------------------------------===#
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
7 #===------------------------------------------------------------------------===#
9 add_library(FortranSemantics
15 check-arithmeticif.cpp
20 check-declarations.cpp
25 check-omp-structure.cpp
31 pointer-assignment.cpp
35 resolve-names-utils.cpp
36 rewrite-parse-tree.cpp
42 unparse-with-symbols.cpp
45 target_link_libraries(FortranSemantics
50 install (TARGETS FortranSemantics
51 ARCHIVE DESTINATION lib
52 LIBRARY DESTINATION lib
53 RUNTIME DESTINATION bin