diff options
| author | Arthur LAURENT <[email protected]> | 2024-02-06 18:31:13 +0100 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2024-02-06 18:32:06 +0100 |
| commit | 8929c381e0cd70ff804e7c52bb3efc134e056e78 (patch) | |
| tree | 57505d519dbb53c9ea45a8836cbcc63140bf0f28 /xmake/plugins | |
| parent | 3266f5dda184c4d1b1d340ec9e21cc9f299fcb84 (diff) | |
implement target kind moduleonly
Diffstat (limited to 'xmake/plugins')
| -rw-r--r-- | xmake/plugins/project/cmake/cmakelists.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/plugins/project/cmake/cmakelists.lua b/xmake/plugins/project/cmake/cmakelists.lua index 6fcf38313..a91328d54 100644 --- a/xmake/plugins/project/cmake/cmakelists.lua +++ b/xmake/plugins/project/cmake/cmakelists.lua @@ -1003,6 +1003,8 @@ function _add_target(cmakelists, target, outputdir) _add_target_headeronly(cmakelists, target) _add_target_include_directories(cmakelists, target, outputdir) return + elseif targetkind == 'moduleonly' then + raise("target kind moduleonly is currently not supported for cmakelists") else raise("unknown target kind %s", target:kind()) end |
