You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
52 lines
851 B
52 lines
851 B
2 months ago
|
cmake_pkg_config(
|
||
|
EXTRACT foo
|
||
|
STRICTNESS ${STRICTNESS}
|
||
|
REQUIRED
|
||
|
)
|
||
|
|
||
|
cmake_pkg_config(
|
||
|
EXTRACT empty-key
|
||
|
STRICTNESS ${STRICTNESS}
|
||
|
REQUIRED
|
||
|
)
|
||
|
|
||
|
cmake_pkg_config(
|
||
|
EXTRACT no-name
|
||
|
STRICTNESS ${STRICTNESS}
|
||
|
)
|
||
|
|
||
|
cmake_pkg_config(
|
||
|
EXTRACT no-description
|
||
|
STRICTNESS ${STRICTNESS}
|
||
|
)
|
||
|
|
||
|
cmake_pkg_config(
|
||
|
EXTRACT no-version
|
||
|
STRICTNESS ${STRICTNESS}
|
||
|
)
|
||
|
|
||
|
cmake_pkg_config(
|
||
|
EXTRACT invalid
|
||
|
STRICTNESS ${STRICTNESS}
|
||
|
)
|
||
|
|
||
|
cmake_pkg_config(
|
||
|
EXTRACT cflags-lowercase-f
|
||
|
STRICTNESS ${STRICTNESS}
|
||
|
)
|
||
|
message("Cflags: ${CMAKE_PKG_CONFIG_CFLAGS}")
|
||
|
|
||
|
set(CMAKE_PKG_CONFIG_CFLAGS)
|
||
|
cmake_pkg_config(
|
||
|
EXTRACT cflags-uppercase-f
|
||
|
STRICTNESS ${STRICTNESS}
|
||
|
)
|
||
|
message("CFlags: ${CMAKE_PKG_CONFIG_CFLAGS}")
|
||
|
|
||
|
set(CMAKE_PKG_CONFIG_CFLAGS)
|
||
|
cmake_pkg_config(
|
||
|
EXTRACT cflags-bothcase-f
|
||
|
STRICTNESS ${STRICTNESS}
|
||
|
)
|
||
|
message("Cflags: ${CMAKE_PKG_CONFIG_CFLAGS}")
|