Repository navigation
Conversation
…ith-config.h Add initial modern CMake build scaffolding
…-in-cmake Modernize optional feature detection
…er-presets Enforce consistent compile flags and add sanitizer preset
…-cmake Add CTest integration for legacy tests
…h-vcpkg Add vcpkg configuration and Windows build documentation
…fb for GTK tests, and relax artifact paths
…e _GNU_SOURCE to expose POSIX prototypes
…nks` in test-uglib.c
…isfy baseline requirement
…; install Ninja; init submodule
… msvc-dev-cmd for cl; keep Ninja
…vcpkg tools dir to PATH on Windows
…CI to build cleanly
…inux-and-windows Add GitHub Actions CI for Linux and Windows
* deps(cmake): require GTK>=3.24/GLib>=2.76, GStreamer 1.x only; prefer Ayatana tray; libcurl via pkg-config; default to OpenSSL; keep GnuTLS/libgcrypt optional * cmake: guard pkg-config usage by availability
This PR resolves build failures on Windows and Linux and modernizes the CMake build system. Changes include: - Fixed Windows compilation error (snprintf macro redefinition) - Fixed Linux segmentation fault in tests (pointer arithmetic) - Refactored CMakeLists.txt to build proper targets - Fixed memory leaks and linking issues in tests - Added optional toggle for Mega plugin with robust detection - Updated vcpkg baseline and dependencies
This adds src/main.c to CMakeLists.txt and makes it a valid entry point, ensuring uget.exe is built.
This file contains hidden or 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
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.
This PR re-enables and implements the
ugetcommand-line interface.