parent
0332d7e350
commit
49a974213c
4 changed files with 21 additions and 2 deletions
@ -0,0 +1 @@ |
|||||||
|
@foo@ |
@ -0,0 +1,14 @@ |
|||||||
|
project( |
||||||
|
'cmake config file', |
||||||
|
) |
||||||
|
|
||||||
|
cmake = import('cmake') |
||||||
|
|
||||||
|
cmake_conf = configuration_data() |
||||||
|
cmake_conf.set_quoted('foo', 'bar') |
||||||
|
cmake.configure_package_config_file( |
||||||
|
name : 'foolib', |
||||||
|
input : 'foolib.cmake.in', |
||||||
|
install_dir : get_option('libdir') / 'cmake', |
||||||
|
configuration : cmake_conf, |
||||||
|
) |
@ -0,0 +1,5 @@ |
|||||||
|
{ |
||||||
|
"installed": [ |
||||||
|
{"file": "usr/lib/cmake/foolibConfig.cmake", "type": "file"} |
||||||
|
] |
||||||
|
} |
Loading…
Reference in new issue