mirror of
https://github.com/build-cpp/cmkr
synced 2026-06-08 13:22:55 +00:00
@@ -766,6 +766,12 @@ void generate_cmake(const char *path, const parser::Project *parent_project) {
|
||||
target_type = "SOURCES";
|
||||
target_scope = "PUBLIC";
|
||||
break;
|
||||
case parser::target_object:
|
||||
// NOTE: This is properly supported since 3.12
|
||||
add_command = "add_library";
|
||||
target_type = "OBJECT";
|
||||
target_scope = "PUBLIC";
|
||||
break;
|
||||
default:
|
||||
assert("Unimplemented enum value" && false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user