-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmake: allow to set a Lua library outside #113
Open
ligurio
wants to merge
6
commits into
master
Choose a base branch
from
ligurio/gh-xxxx-set-liblua-outside
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ligurio
force-pushed
the
ligurio/gh-xxxx-set-liblua-outside
branch
2 times, most recently
from
November 30, 2024 10:31
707e817
to
ba5854f
Compare
ligurio
force-pushed
the
ligurio/gh-xxxx-set-liblua-outside
branch
2 times, most recently
from
December 2, 2024 10:52
1faefd7
to
c64eecc
Compare
ligurio
force-pushed
the
ligurio/gh-xxxx-set-liblua-outside
branch
from
December 9, 2024 09:43
c64eecc
to
97230cc
Compare
The arguments to `else()` and `endif()` were required before version 2.6.0. As of CMake 2.6.0 the `else()` and `endif()` constructs can be empty. The same is true for closing constructs on `endmacro()`, `endfunction()`, and `endforeach()`. If you require 2.4.x compatibility, CMake 2.4.3 or greater recognizes the `CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS` option (which is superfluous in 2.6.0). See [1] and [2]. The patch removes arguments in `endif()`. 1. https://cmake.org/cmake/help/v3.6/command/endif.html 2. https://stackoverflow.com/questions/29959126/why-does-cmake-syntax-have-redundant-parentheses-everywhere/29967305#29967305
Required for setting a Lua library outside.
Required for setting a Lua library outside.
ligurio
force-pushed
the
ligurio/gh-xxxx-set-liblua-outside
branch
from
December 9, 2024 14:03
97230cc
to
a8cf3a6
Compare
ligurio
force-pushed
the
ligurio/gh-xxxx-set-liblua-outside
branch
8 times, most recently
from
December 18, 2024 15:54
ea5bac5
to
064d466
Compare
Building a project as ExternalProject in Tarantool is failed because initial LDFLAGS is empty and after adding an option a final value has a leading whitespace, but should not [1]: CMake Error at tests/capi/CMakeLists.txt:69 (add_executable): Target "ffi_cdef_proto_test" links to item " -g" which has leading or trailing whitespace. This is now an error according to policy CMP0004. Call Stack (most recent call first): tests/capi/ffi_cdef_proto/CMakeLists.txt:16 (create_test) The patch add a macro `AppendFlags` that allow to avoid such issues. Needed by tarantool/tarantool#10911 1. https://cmake.org/cmake/help/latest/policy/CMP0004.html
The project builds Lua libraries for two the most popular Lua implementations: PUC Rio Lua and LuaJIT. However, integration with other implementations are interesting as well (like Tarantool, LuaVela, OpenResty etc.). The patch enables integration with other Lua libraries by setting `LUA_INCLUDE_DIR`, `LUA_LIBRARIES` and `LUA_EXECUTABLE` (yes, it is required too). Needed for tarantool/tarantool#10911
ligurio
force-pushed
the
ligurio/gh-xxxx-set-liblua-outside
branch
from
December 18, 2024 17:08
064d466
to
66a4174
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Needed for tarantool/tarantool#10911