Added argument to target name

vcpkg-wip
darknessxk 4 years ago
parent a6dfb2272d
commit fbd07c47bc
No known key found for this signature in database
GPG Key ID: 60B0DD55EAB28E3D

@ -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");

Loading…
Cancel
Save