mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-01 05:29:00 +08:00
f35ba0c785
* [luajit] Use nmake build setup [skip actions] * [luajit] Use vcpkg_configure/install_make [skip actions] * Cross build with host tools * Host tools must match target bitness * Cleanup * WIP * Don't touch CI baseline now * Less osx quirks * Move msvc header installation to nmake * Simplify MSVC * Add arm and x86 cross build support
21 lines
730 B
Makefile
21 lines
730 B
Makefile
all:
|
|
@echo _CL_ = $(_CL_)
|
|
@echo _LINK_ = $(_LINK_)
|
|
cd src && .\msvcbuild.bat $(MSVCBUILD_OPTIONS)
|
|
|
|
install: src/luajit.exe
|
|
-mkdir "$(INSTALLDIR)"
|
|
-mkdir "$(INSTALLDIR)\bin"
|
|
copy src\luajit.exe "$(INSTALLDIR)\bin\"
|
|
if exist src\lua51.dll copy src\lua51.dll "$(INSTALLDIR)\bin\"
|
|
-mkdir "$(INSTALLDIR)\lib"
|
|
copy src\lua51.lib "$(INSTALLDIR)\lib\"
|
|
-mkdir "$(INSTALLDIR)\include"
|
|
-mkdir "$(INSTALLDIR)\include\luajit"
|
|
copy src/lua.h "$(INSTALLDIR)\include\luajit\"
|
|
copy src/luajit.h "$(INSTALLDIR)\include\luajit\"
|
|
copy src/luaconf.h "$(INSTALLDIR)\include\luajit\"
|
|
copy src/lualib.h "$(INSTALLDIR)\include\luajit\"
|
|
copy src/lauxlib.h "$(INSTALLDIR)\include\luajit\"
|
|
copy src/lua.hpp "$(INSTALLDIR)\include\luajit\"
|