This repository was archived by the owner on Oct 24, 2025. It is now read-only.
-
Couldn't load subscription status.
- Fork 132
[WIP] Build with Meson #269
Draft
SolarLiner
wants to merge
3
commits into
sass:master
Choose a base branch
from
SolarLiner:feature/meson
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.
Draft
Conversation
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
7 tasks
|
similar to libsass I created a meson port of sassc for gtk some ago: lazka@8280337 (tested on Linux/Windows) If there is anything I can help with feel free to ping me. |
lazka
reviewed
Nov 20, 2020
meson.build
Outdated
| project('sassc', 'c', version: '3.6.2', default_options: ['c_std=c11']) | ||
|
|
||
| if target_machine.system() == 'windows' | ||
| add_project_arguments('-D_WIN32', language: 'c') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_WIN32 is predefined on Windows, no need to set it again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, thanks for the heads-up I didn't know.
The define is already set on the platform.
lazka
added a commit
to lazka/wrapdb
that referenced
this pull request
Sep 18, 2023
This is a direct copy of https://github.com/lazka/sassc/tree/meson which I've created for gtk back in the days. This project is in a similar situation as mesonbuild#1153. There exists an upstream PR for adding meson (sass/sassc#269), but the project is unmaintained, so unlikely to see progress there.
jpakkane
pushed a commit
to mesonbuild/wrapdb
that referenced
this pull request
Sep 19, 2023
This is a direct copy of https://github.com/lazka/sassc/tree/meson which I've created for gtk back in the days. This project is in a similar situation as #1153. There exists an upstream PR for adding meson (sass/sassc#269), but the project is unmaintained, so unlikely to see progress there.
fennewald
pushed a commit
to fennewald/wrapdb
that referenced
this pull request
Sep 29, 2023
This is a direct copy of https://github.com/lazka/sassc/tree/meson which I've created for gtk back in the days. This project is in a similar situation as mesonbuild#1153. There exists an upstream PR for adding meson (sass/sassc#269), but the project is unmaintained, so unlikely to see progress there.
willwray
pushed a commit
to willwray/wrapdb
that referenced
this pull request
Apr 22, 2024
This is a direct copy of https://github.com/lazka/sassc/tree/meson which I've created for gtk back in the days. This project is in a similar situation as mesonbuild#1153. There exists an upstream PR for adding meson (sass/sassc#269), but the project is unmaintained, so unlikely to see progress there.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The Meson build system is a build system designed as a Ninja front-end. It is significantly faster than Autotools and (IMHO) much easier to work with.
Meson also natively supports dependencies either as system dependencies (using pkg-config) or subprojects (where Meson will build another Meson-based (or more recently CMake-based) project to use with the current project). This I use to automatically build
libsassif it isn't found on the system, through sass/libsass#3073.Usage:
The conversion hasn't been done by transcribing the Automake script - furthermore not all "build features" have been translated yet: