forked from mesonbuild/meson
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
intro: Add extra_files key to intro output (fixes mesonbuild#7310)
- Loading branch information
Showing
9 changed files
with
115 additions
and
56 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
## New `extra_files` key in target introspection | ||
|
||
The target introspection (`meson introspect --targets`, `intro-targets.json`) | ||
now has the new `extra_files` key which lists all files specified via the | ||
`extra_files` kwarg of a build target (see `executable()`, etc.) | ||
|
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
SRC_shared = ['shared.cpp'] | ||
sharedlib = shared_library('sharedTestLib', SRC_shared) | ||
sharedlib = shared_library('sharedTestLib', SRC_shared, extra_files: ['shared.hpp']) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
SRC_static = ['static.c'] | ||
staticlib = static_library('staticTestLib', SRC_static) | ||
extra_static = files(['static.h']) | ||
staticlib = static_library('staticTestLib', SRC_static, extra_files: extra_static) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
#pragma once | ||
|
||
int add_numbers(int a, int b); | ||
#ifdef __cplusplus | ||
extern "C" { | ||
#endif | ||
|
||
int add_numbers(int a, int b); | ||
|
||
#ifdef __cplusplus | ||
} | ||
#endif |