mirror of
https://github.com/build-cpp/cmkr
synced 2026-06-08 13:22:55 +00:00
rename generated function
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ void generate_project(const char *str) {
|
||||
} else if (!strcmp(str, "static") || !strcmp(str, "shared")) {
|
||||
std::ofstream ofs("src/lib.cpp");
|
||||
if (ofs.is_open()) {
|
||||
ofs << "int dll_main() {\n\treturn 0;\n}";
|
||||
ofs << "int test() {\n\treturn 0;\n}";
|
||||
}
|
||||
ofs.flush();
|
||||
ofs.close();
|
||||
|
||||
Reference in New Issue
Block a user