2020-02-25 23:11:52 +08:00
|
|
|
#===-- lib/Parser/CMakeLists.txt -------------------------------------------===#
|
2018-05-02 03:50:34 +08:00
|
|
|
#
|
2019-12-21 04:52:07 +08:00
|
|
|
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
# See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2018-05-02 03:50:34 +08:00
|
|
|
#
|
2020-01-11 04:12:03 +08:00
|
|
|
#===------------------------------------------------------------------------===#
|
2018-05-02 03:50:34 +08:00
|
|
|
|
2019-01-20 07:30:25 +08:00
|
|
|
add_library(FortranParser
|
2020-01-28 10:18:45 +08:00
|
|
|
Fortran-parsers.cpp
|
|
|
|
char-buffer.cpp
|
|
|
|
char-block.cpp
|
|
|
|
char-set.cpp
|
|
|
|
characters.cpp
|
|
|
|
debug-parser.cpp
|
|
|
|
executable-parsers.cpp
|
|
|
|
expr-parsers.cpp
|
|
|
|
instrumented-parser.cpp
|
|
|
|
io-parsers.cpp
|
|
|
|
message.cpp
|
|
|
|
openmp-parsers.cpp
|
|
|
|
parse-tree.cpp
|
|
|
|
parsing.cpp
|
|
|
|
preprocessor.cpp
|
|
|
|
prescan.cpp
|
|
|
|
program-parsers.cpp
|
|
|
|
provenance.cpp
|
|
|
|
source.cpp
|
|
|
|
token-sequence.cpp
|
|
|
|
tools.cpp
|
|
|
|
unparse.cpp
|
|
|
|
user-state.cpp
|
2018-02-19 21:28:12 +08:00
|
|
|
)
|
2018-06-19 02:03:43 +08:00
|
|
|
|
|
|
|
target_link_libraries(FortranParser
|
|
|
|
FortranCommon
|
2020-02-28 23:11:03 +08:00
|
|
|
LLVMSupport
|
2018-06-19 02:03:43 +08:00
|
|
|
)
|
2019-03-29 00:55:56 +08:00
|
|
|
|
|
|
|
install (TARGETS FortranParser
|
|
|
|
ARCHIVE DESTINATION lib
|
|
|
|
LIBRARY DESTINATION lib
|
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
)
|