Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
typon-compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
typon
typon-compiler
Commits
ab844a5f
Commit
ab844a5f
authored
Nov 20, 2023
by
Tom Niget
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add CMake file for code analysis
parent
9bd19dba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
.gitignore
.gitignore
+2
-1
typon/CMakeLists.txt
typon/CMakeLists.txt
+17
-0
No files found.
.gitignore
View file @
ab844a5f
.idea
\ No newline at end of file
.idea
cmake-build-*
\ No newline at end of file
typon/CMakeLists.txt
0 → 100644
View file @
ab844a5f
cmake_minimum_required
(
VERSION 3.27
)
project
(
typon
)
set
(
CMAKE_CXX_STANDARD 20
)
find_package
(
fmt CONFIG REQUIRED
)
include_directories
(
include
)
include_directories
(
runtime/rt/include
)
file
(
GLOB TESTS trans/tests/*.cpp
)
foreach
(
testfile
${
TESTS
}
)
get_filename_component
(
testname
${
testfile
}
NAME_WE
)
add_executable
(
${
testname
}
${
testfile
}
)
target_link_libraries
(
${
testname
}
PRIVATE fmt::fmt-header-only
)
endforeach
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment