summaryrefslogtreecommitdiff
path: root/command_line/CmdLine/Src/Project/CLProj.c
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2022-10-19 21:16:13 +0100
committerAsh Wolf <ninji@wuffs.org>2022-10-19 21:16:13 +0100
commitd1f153d34b023d81768f6087f67dbfff714bafc9 (patch)
treea694d470a60655d0cda15a70791fbdb90a2398cf /command_line/CmdLine/Src/Project/CLProj.c
parent775b6861666af36d317fb577cf489e2c6377f878 (diff)
downloadMWCC-d1f153d34b023d81768f6087f67dbfff714bafc9.tar.gz
MWCC-d1f153d34b023d81768f6087f67dbfff714bafc9.zip
let's commit all this before my VM blows up and nukes my work
Diffstat (limited to '')
-rw-r--r--command_line/CmdLine/Src/Project/CLProj.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/command_line/CmdLine/Src/Project/CLProj.c b/command_line/CmdLine/Src/Project/CLProj.c
index e69de29..83b2ce1 100644
--- a/command_line/CmdLine/Src/Project/CLProj.c
+++ b/command_line/CmdLine/Src/Project/CLProj.c
@@ -0,0 +1,16 @@
+#include "cmdline.h"
+
+Boolean Proj_Initialize(Project *this) {
+ this->targets = NULL;
+ OS_GetCWD(&this->projectDirectory.path);
+ OS_MakeNameSpec("", &this->projectDirectory.name);
+ return 1;
+}
+
+Boolean Proj_Terminate(Project *this) {
+#line 25
+ OPTION_ASSERT(this != NULL);
+
+ Targets_Term(this->targets);
+ return 1;
+}