summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--scripts/osx-dylib.json2
-rw-r--r--scripts/posix-dylib.json2
-rw-r--r--scripts/win64-dylib.json2
-rw-r--r--src/cli/CLI.cpp (renamed from src/cli/main.cc)3
-rw-r--r--src/lib/IManifestBuilder.cpp (renamed from src/lib/IManifestBuilder.cc)0
-rw-r--r--src/lib/JSONManifestBuilder.cpp (renamed from src/lib/JSONManifestBuilder.cc)0
-rw-r--r--src/lib/TOMLManifestBuilder.cpp (renamed from src/lib/TOMLManifestBuilder.cc)0
8 files changed, 5 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 525b195..0c285c1 100644
--- a/Makefile
+++ b/Makefile
@@ -8,7 +8,7 @@ GCC=clang++
GCC_MINGW=x86_64-w64-mingw32-g++
CXXFLAGS=-I./include -L/usr/local/lib -I./vendor -lNeBuildKit
CXXSTD= -std=c++20
-SRC=$(wildcard src/cli/*.cc)
+SRC=$(wildcard src/cli/*.cpp)
OUT=nebuild
CP=cp
diff --git a/scripts/osx-dylib.json b/scripts/osx-dylib.json
index 0426f4e..675a231 100644
--- a/scripts/osx-dylib.json
+++ b/scripts/osx-dylib.json
@@ -2,7 +2,7 @@
"compiler_path": "clang++",
"compiler_std": "c++20",
"headers_path": ["include", "vendor"],
- "sources_path": ["src/lib/*.cc"],
+ "sources_path": ["src/lib/*.cpp"],
"output_name": "libNeBuildKit.dylib",
"compiler_flags": ["-fPIC", "-shared"],
"cpp_macros": ["NEBUILD_INTERNAL_SDK", "NEBUILD_OSX"],
diff --git a/scripts/posix-dylib.json b/scripts/posix-dylib.json
index 17c37a7..5d1b9d1 100644
--- a/scripts/posix-dylib.json
+++ b/scripts/posix-dylib.json
@@ -2,7 +2,7 @@
"compiler_path": "clang++",
"compiler_std": "c++20",
"headers_path": ["include/", "vendor"],
- "sources_path": ["src/lib/*.cc"],
+ "sources_path": ["src/lib/*.cpp"],
"output_name": "libNeBuildKit.so",
"compiler_flags": ["-fPIC", "-shared"],
"cpp_macros": ["NEBUILD_POSIX", "NEBUILD_INTERNAL_SDK"],
diff --git a/scripts/win64-dylib.json b/scripts/win64-dylib.json
index d7c9f0e..5a88251 100644
--- a/scripts/win64-dylib.json
+++ b/scripts/win64-dylib.json
@@ -2,7 +2,7 @@
"compiler_path": "x86_64-w64-mingw32-g++.exe",
"compiler_std": "c++20",
"headers_path": ["include", "vendor"],
- "sources_path": ["src/lib/*.cc"],
+ "sources_path": ["src/lib/*.cpp"],
"output_name": "libNeBuildKit.dll",
"compiler_flags": ["-fPIC", "-shared"],
"cpp_macros": ["NEBUILD_WINDOWS", "NEBUILD_INTERNAL_SDK"],
diff --git a/src/cli/main.cc b/src/cli/CLI.cpp
index 61ab3c7..a21c4ad 100644
--- a/src/cli/main.cc
+++ b/src/cli/CLI.cpp
@@ -26,8 +26,7 @@ int main(int argc, char** argv) {
config.dry_run(true);
continue;
} else if (index_path == "-h" || index_path == "-help") {
- NeBuild::Logger::info() << "usage: nebuild <options> <file>.\n";
-
+ NeBuild::Logger::info() << "nebuild <options> <file.{json, toml}>\n";
return EXIT_SUCCESS;
}
diff --git a/src/lib/IManifestBuilder.cc b/src/lib/IManifestBuilder.cpp
index 2a61ed0..2a61ed0 100644
--- a/src/lib/IManifestBuilder.cc
+++ b/src/lib/IManifestBuilder.cpp
diff --git a/src/lib/JSONManifestBuilder.cc b/src/lib/JSONManifestBuilder.cpp
index 7f52f51..7f52f51 100644
--- a/src/lib/JSONManifestBuilder.cc
+++ b/src/lib/JSONManifestBuilder.cpp
diff --git a/src/lib/TOMLManifestBuilder.cc b/src/lib/TOMLManifestBuilder.cpp
index 0a51a4c..0a51a4c 100644
--- a/src/lib/TOMLManifestBuilder.cc
+++ b/src/lib/TOMLManifestBuilder.cpp