API: Add support for type aliases
[vpp.git] / src / tools / vppapigen / CMakeLists.txt
index 6023f20..ce25cb0 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-install(FILES vppapigen.py RENAME vppapigen DESTINATION bin)
-install(FILES C.py JSON.py DESTINATION share/vpp)
+install(
+  FILES vppapigen.py
+  RENAME vppapigen
+  DESTINATION bin
+  PERMISSIONS
+    OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE
+    WORLD_READ WORLD_EXECUTE
+  COMPONENT vpp-dev
+)
+
+install(FILES vppapigen_c.py vppapigen_json.py DESTINATION share/vpp COMPONENT vpp-dev)