Skip to content

Commit 9c347b2

Browse files
committed
remove test for now from template
1 parent 0bc49e4 commit 9c347b2

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

include/literals.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,4 @@ include-dirs = ["include"]
3939
# features = []
4040
# defines = []
4141
# link-libs = []
42-
43-
# [[test]]]
44-
# name = "test1"
45-
# command = "%s"
46-
# arguments = []
4742
)lit";

src/gen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ int generate_project(const char *str) {
4747
const auto dir_name = fs::current_path().stem().string();
4848
std::string mainbuf;
4949
const auto tomlbuf =
50-
detail::format(cmake_toml, dir_name.c_str(), dir_name.c_str(), str, dir_name.c_str());
50+
detail::format(cmake_toml, dir_name.c_str(), dir_name.c_str(), str);
5151
if (!strcmp(str, "exe")) {
5252
mainbuf = detail::format(hello_world, "main");
5353
} else if (!strcmp(str, "static") || !strcmp(str, "shared") || !strcmp(str, "lib")) {

vendor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 9132abc5c403bfeaf12a8ff940a9fbdc45220843

0 commit comments

Comments
 (0)