mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-02-23 03:35:09 +00:00
[flang] Add CMakeLists.txt and .gitignore
Original-commit: flang-compiler/f18@d9a1ea4c49 Tree-same-pre-rewrite: false
This commit is contained in:
parent
93cf3aec5e
commit
d45e6c7eda
3
flang/.gitignore
vendored
Normal file
3
flang/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
Debug
|
||||
Release
|
||||
tags
|
24
flang/CMakeLists.txt
Normal file
24
flang/CMakeLists.txt
Normal file
@ -0,0 +1,24 @@
|
||||
cmake_minimum_required(VERSION 3.9.0)
|
||||
project(f18)
|
||||
|
||||
set(GCC /home/sw/thirdparty/gcc/gcc-7.3.0/linux86-64/redhat)
|
||||
set(CMAKE_CXX_COMPILER "${GCC}/bin/g++")
|
||||
set(CMAKE_INSTALL_RPATH "${GCC}/lib64")
|
||||
set(CMAKE_BUILD_WITH_INSTALL_RPATH true)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=c++17")
|
||||
|
||||
set(SOURCES
|
||||
char-buffer.cc
|
||||
f2018-demo.cc
|
||||
idioms.cc
|
||||
message.cc
|
||||
parse-tree.cc
|
||||
position.cc
|
||||
preprocessor.cc
|
||||
prescan.cc
|
||||
source.cc
|
||||
)
|
||||
add_executable(f18 ${SOURCES})
|
||||
|
||||
add_executable(type-test type.cc idioms.cc)
|
Loading…
x
Reference in New Issue
Block a user