remove test for now from template

toml-checker
MoAlyousef 4 years ago
parent 0bc49e4ea7
commit 9c347b2851

@ -39,9 +39,4 @@ include-dirs = ["include"]
# features = []
# defines = []
# link-libs = []
# [[test]]]
# name = "test1"
# command = "%s"
# arguments = []
)lit";

@ -47,7 +47,7 @@ int generate_project(const char *str) {
const auto dir_name = fs::current_path().stem().string();
std::string mainbuf;
const auto tomlbuf =
detail::format(cmake_toml, dir_name.c_str(), dir_name.c_str(), str, dir_name.c_str());
detail::format(cmake_toml, dir_name.c_str(), dir_name.c_str(), str);
if (!strcmp(str, "exe")) {
mainbuf = detail::format(hello_world, "main");
} else if (!strcmp(str, "static") || !strcmp(str, "shared") || !strcmp(str, "lib")) {

@ -0,0 +1 @@
Subproject commit 9132abc5c403bfeaf12a8ff940a9fbdc45220843
Loading…
Cancel
Save