mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
build: add -Dlibsysprof option
This gets us closer to being able to only build the capture static library
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
if get_option('libsysprof')
|
||||
|
||||
libsysprof_c_args = [ '-DSYSPROF_COMPILATION' ]
|
||||
|
||||
libsysprof_public_sources = [
|
||||
@ -127,3 +129,5 @@ pkgconfig.generate(
|
||||
)
|
||||
|
||||
install_headers(libsysprof_public_headers, subdir: sysprof_header_subdir)
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user