mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 03:51:18 +00:00
Updated project structure. Updated README.
This commit is contained in:
@@ -3,4 +3,15 @@ project(c3c C)
|
||||
|
||||
set(CMAKE_C_STANDARD 11)
|
||||
|
||||
add_executable(c3c main.c build/build_options.c build/build_options.h build/project_creation.c build/project_creation.h utils/string_utils.c utils/string_utils.h utils/file_utils.c utils/file_utils.h utils/errors.c utils/errors.h)
|
||||
include_directories(
|
||||
"${CMAKE_SOURCE_DIR}/src/"
|
||||
"${CMAKE_SOURCE_DIR}/build/")
|
||||
|
||||
add_executable(c3c
|
||||
src/main.c
|
||||
src/build/build_options.c
|
||||
src/build/project_creation.c
|
||||
src/utils/errors.c
|
||||
src/utils/file_utils.c
|
||||
src/utils/string_utils.c
|
||||
)
|
||||
@@ -1 +1,7 @@
|
||||
# c3c
|
||||
# C3 Language
|
||||
|
||||
This is a prototype language branched off C2. It goes further than C2 in several regards, while still embracing the goals of C2.
|
||||
|
||||
As of now, very little code towards the compiler will be added here.
|
||||
|
||||
There is a "work-in-progress" C2 compiler in C called Titanos, which an eventual compiler might be based on.
|
||||
@@ -9,7 +9,6 @@
|
||||
#include <unistd.h>
|
||||
#include "project_creation.h"
|
||||
#include "build_options.h"
|
||||
#include "string.h"
|
||||
#include "../utils/string_utils.h"
|
||||
|
||||
const char* TOML =
|
||||
Reference in New Issue
Block a user