Commit Graph

37 Commits

Author SHA1 Message Date
Ruitard
29fd45c883
[lua] cmake link library is absolute path (#30922)
* [lua] cmake_minimum_required should before project

* [lua] link dl not use absolute path

* [lua] update port-version
2023-04-18 16:58:56 -07:00
autoantwort
5b11232d00
[many-ports] Don't use deprecated functions (autogenerated) (#26981)
* [libuvc,qt5-virtualkeyboard] remove duplicated dependency entry

* [many-ports] don't use deprecated functions (autogenerated)

* atkmm: Fix license.
gperftools: Reformat vcpkg_check_features call.
gsl: Fix license.
libpff: Fix license.
pangomm: Fix license.
qtbase: Revert, only comment changes.
type-lite: Reformat vcpkg_check_features and actually use the feature options.

---------

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2023-04-13 09:13:15 -07:00
Tobias Funk
b41bc7cfed
[lua] Fix compiler error of lua[tools] (#29897)
* Fix linux tools can't compile with undefined reference to `sin'

* update port version

* update baseline.json

* fix duplicate FIND_LIBRARY (LIB_MATH NAMES m) & fix linking of luac is missing math libs

* update lua port version in version database

---------

Co-authored-by: tobias.funk <tobias.funk@nortonlifelock.com>
2023-03-01 10:41:21 -08:00
autoantwort
aaded72a03
[lua] fix tool feature (#29176) 2023-01-25 12:25:56 -08:00
Ruitard
ceb291e236
[lua] Fix CMake LINK_INTERFACE_LIBRARIES (#28027)
* [lua] Fix CMake LINK_INTERFACE_LIBRARIES

* [lua] update port-version
2022-11-28 10:21:55 -08:00
Jack·Boos·Yu
32d25e6b85
[lua] Fix library type and usage (#24436)
* [lua] Fix library type and usage

* version

* Use c code in executables

* version

* Apply suggestion

* version

* Add an extra CMakeLists.txt to avoid scope pollution of SET_SOURCE_FILES_PROPERTIES

* version

* Apply suggestions

* version

* Various nitpicks:

* Use "supports" on features rather than if tests plus message FATAL_ERROR
* Deduplicate ENABLE_LUA_CPP and COMPILE_AS_CPP
* Add quotes.
* Use file(INSTALL rather than configure_file(COPYONLY)

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-05-13 15:02:20 -07:00
Thomas1664
1e4bfb254a
[Lua] Fix feature cpp (#23292)
* Fix feature cpp in port lua

* Update vcpkg.json

* version
2022-02-28 10:47:37 -08:00
Frank
699eab7eca
[lua] update to 5.4.4 (#22973)
* [lua] update to 5.4.4

* update version

* update usage

* update versions

* update usage

* overwrite verison

* update methods

* overwrite version
2022-02-07 19:02:38 -08:00
Jack·Boos·Yu
c721ff6784
[lua] Add error message to feature cpp when building uwp (#19510)
* [lua] Add error message to the cpp selection feature when building uwp.

* version
2021-08-18 17:18:05 -07:00
Jack·Boos·Yu
1dfb5d9d2f
[lua] Export cmake targets, rewrite CMakeLists and delete usage (#15921) 2021-08-11 17:27:43 -07:00
Park DongHa
1045e88e42
[lua] support iOS triplets (#16107)
* [lua] support iOS triplets

* separate interpreter/compiler to lua[tools] feature
* update git-tree SHA

* [lua] revert feature separation

* [lua] update port SHA

* [lua] make 'tools' default-feature

* set `ENABLE_LUA_CPP` for cmake wrapper

* [lua] fix after collision

* Update ports/lua/portfile.cmake

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Update ports/lua/portfile.cmake

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* [lua] import TargetConditionals for apple platform

* Update ports/lua/vcpkg.json

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* Update ports/lua/portfile.cmake

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* [lua] remove negations for 'tool' config

use FEATURES instread of INVERTED_FEATURES to prevent confusions

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-04-19 17:13:08 -07:00
Frank Hale
58d3efbc99
[lua]Update port to version 5.4.3 (#16943)
* Update Lua to version 5.4.3

* Update Lua versions file
2021-03-31 14:09:56 -07:00
Frank Hale
52aeb54399
[lua] Update to version 5.4.2 (#16603)
* Update Lua port to 5.4.2

* Update version
2021-03-10 11:55:51 -06:00
JonLiu1993
09fe2c31fd
[lua] update to 5.4.0 (#12352) 2020-10-30 11:52:40 -07:00
Lily
83ff32536a
[lua] Fix find_package warning (#13195)
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2020-10-27 20:29:12 -07:00
Jack·Boos·Yu
6b32f92067
[lua] Add vcpkg-cmake-wrapper (#11870) 2020-06-11 02:32:09 -07:00
Kevin Lu
147f02caff
[lua] Compile as position-independent code (#11163) 2020-05-07 23:32:21 -07:00
paul-reilly
aaddcb1afb
Add post-build usage info for Lua port. (#9934)
* Add post-build usage info for Lua port.

* Fix CMake command that moves info file

* Update Lua package version number
2020-02-06 11:07:19 -08:00
Kevin Lu
8ca8de6926 [lua] Add [cpp] feature to additionally build lua-c++ (#7101)
* [lua] Add [cpp] feature to build lua-c++

* [lua] Switch tab for spaces in CMakeLists, set version to 5.3.5-2 as requested

* Use spaces for indentation
2019-07-02 13:49:17 -07:00
pravic
18b029a5e3 [WIP] Add a Homepage URL entry for vcpkg ports (#2933)
* [vcpkg] Add "Homepage" field to the CONTROL files.
2019-06-15 16:54:47 -07:00
TitanSnow
a462daf251 [lua] Upgrade to 5.3.5 and add support for Linux and macOS (#6515)
* upgrade lua to 5.3.5

* support POSIX systems

* bump version in CONTROL file

* -lm

* fix copyright check

* don't use c89 on windows

vs2015 already supports c99

* correct vcpkg_extract_source_archive_ex usage and platform detection

* fix FreeBSD
2019-05-18 14:33:05 -07:00
Robert Schumacher
1211c77766 [lua] Move tools to /tools/lua 2017-10-17 15:08:30 -07:00
alex85k
6fb6abba22 [lua] fix static build 2017-10-17 22:29:34 +05:00
Stephen E. Baker
493d94e296 Dynamically link lua.dll to lua.exe
For lua.exe to load C modules which are linked against lua, it must itself be
linked against lua, otherwise loading the module fails.
2017-09-27 21:24:38 -04:00
Alexander Karatarakis
26516fe485 vcpkg_configure_cmake (and _meson) now embed debug symbols within static libs (/Z7) 2017-09-09 00:12:54 -07:00
Robert Schumacher
3e0dc1e81e [lua] Expanded comment on COMPILE_AS_CPP 2017-03-02 07:16:46 -08:00
codicodi
b9b27e72d3 [lua] add comment about new option 2017-03-02 16:02:45 +01:00
codicodi
1551d9942e [lua] update to 5.3.4 2017-03-02 14:59:32 +01:00
codicodi
90d814f3e2 [lua] bump version 2016-12-24 02:03:25 +01:00
codicodi
3d58393ad2 [lua] don't export from executables 2016-12-24 02:02:55 +01:00
codicodi
d8db19a2c4 [lua] bump version 2016-12-05 14:40:10 +01:00
codicodi
fffc1dc71e [lua] no debug tools 2016-12-04 19:12:21 +01:00
codicodi
fd74c49a5f [lua] add interpreter and compiler 2016-12-04 19:11:01 +01:00
Alexander Karatarakis
1808d461b0 triplet is now automatically included before portfiles.
Also remove trailing whitespaces from portfiles
2016-11-08 14:25:47 -08:00
Robert Schumacher
0de56e180f [lua] Add version and description 2016-10-07 14:49:58 -07:00
Robert Schumacher
d3a453e638 [lua] Reduce post-install work needed in portfile by adding them to CMakeLists.txt 2016-10-07 14:49:49 -07:00
Adam Martin
ea65c0e5ba [lua] Initial addition 2016-10-07 15:54:12 -05:00