blob: 758bbee2d6246c3a3f7a20e6b3cdef2cc62a3570 [file] [log] [blame]
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,
)