Skip to content

Commit

Permalink
update template
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Feb 6, 2025
1 parent 10fa865 commit b877587
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions xmake/templates/c++/xmake.cli/project/src/lni/main.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
extern "C" {
#include <xmake/xmake.h>
}

static tb_byte_t const g_luafiles_data[] = {
#include "luafiles.xmz.h"
Expand Down
2 changes: 1 addition & 1 deletion xmake/templates/c++/xmake.cli/template.lua
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
template("xmake.cli")
add_configfiles("src/lni/main.c")
add_configfiles("src/lni/main.cpp")
add_configfiles("xmake.lua")

0 comments on commit b877587

Please sign in to comment.