My xmake.lua is:
-- something else --
target("bg")
set_options("default")
set_kind("$(kind)")
add_files("src/bigint.cpp")
add_headers("src/bigint.h") -- HERE "add_headers"
add_defines("BIGINT_FFT_TRIGGER=0x1000000")
target_end()
src/bigint.h is with normal permission, -rw-r--r--, aka 100644 in git.
After building I got build/bigint.h but it is with executable permission, -rwxr-xr-x, aka 100755 in git.
Why the permission has been changed? I do not think header files should be executable. Or it has its special meanings?
The whole repository can be seen at TitanSnow/libBG:xmake
My
xmake.luais:src/bigint.his with normal permission,-rw-r--r--, aka100644in git.After building I got
build/bigint.hbut it is with executable permission,-rwxr-xr-x, aka100755in git.Why the permission has been changed? I do not think header files should be executable. Or it has its special meanings?
The whole repository can be seen at TitanSnow/libBG:xmake