Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/literals.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ version = "0.1.0"

# [options]

[[target]]
[target.%s]
name = "%s"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to delete this, but I'll fix it in main 🙂

type = "%s"
sources = ["src/*.cpp"]
Expand Down
2 changes: 1 addition & 1 deletion src/cmkrlib/gen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ int generate_project(const char *str) {
"! Supported types are: executable, library, shared, static, interface");
}

const auto tomlbuf = format(cmake_toml, dir_name.c_str(), dir_name.c_str(), str, installed.c_str(), target.c_str(), dest.c_str());
const auto tomlbuf = format(cmake_toml, dir_name.c_str(), dir_name.c_str(), dir_name.c_str(), str, installed.c_str(), target.c_str(), dest.c_str());

if (strcmp(str, "interface")) {
std::ofstream ofs("src/main.cpp");
Expand Down