summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-09-29 22:58:07 +0200
committerAki <please@ignore.pl>2021-09-29 22:58:07 +0200
commit5e2e129e61020c18e6579c3a4496b15915bdfd9a (patch)
tree725866b9923b265e0ae678ebbb230ad5eed16b32
parenta0c941cf39c527c6610e43fb249d4ae777cd309a (diff)
downloadstarshatter-5e2e129e61020c18e6579c3a4496b15915bdfd9a.zip
starshatter-5e2e129e61020c18e6579c3a4496b15915bdfd9a.tar.gz
starshatter-5e2e129e61020c18e6579c3a4496b15915bdfd9a.tar.bz2
Added Parser dir to cmake tree
-rw-r--r--CMakeLists.txt2
-rw-r--r--Parser/CMakeLists.txt17
2 files changed, 18 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 05fe0f5..8cf8eda 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,7 +10,7 @@ add_subdirectory(NetEx)
add_subdirectory(nGenEx)
add_subdirectory(ogg) # is a third-party library.
# add_subdirectory(Opcode) # is a third-party library.
-# /Parser looks unused.
+add_subdirectory(Parser)
add_subdirectory(Stars45)
# /Starshatter contains VS-related files.
add_subdirectory(vorbis) # is a third-party library.
diff --git a/Parser/CMakeLists.txt b/Parser/CMakeLists.txt
new file mode 100644
index 0000000..da2f2cd
--- /dev/null
+++ b/Parser/CMakeLists.txt
@@ -0,0 +1,17 @@
+project(Parser)
+add_library(
+ Parser
+ STATIC
+ Parser.cpp
+ Reader.cpp
+ Term.cpp
+ Token.cpp
+ )
+target_include_directories(
+ Parser
+ PUBLIC .
+ )
+target_link_libraries(
+ Parser
+ PRIVATE FoundationEx
+ )