mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-18 21:29:19 +02:00
add missing template/helper files for install targets
This commit is contained in:
parent
2508c61174
commit
7015657c42
2 changed files with 24 additions and 0 deletions
10
contrib/chibi-generate-install-meta-helper.cmake
Normal file
10
contrib/chibi-generate-install-meta-helper.cmake
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
|
||||||
|
execute_process(
|
||||||
|
COMMAND find ${LIBDIR} -name "*.sld"
|
||||||
|
COMMAND ${EXEC} ${GENMETA} ${VERSION}
|
||||||
|
OUTPUT_FILE ${OUT}
|
||||||
|
RESULT_VARIABLE error)
|
||||||
|
|
||||||
|
if(error)
|
||||||
|
message(FATAL_ERROR "${error}")
|
||||||
|
endif()
|
14
contrib/chibi-scheme.pc.cmake.in
Normal file
14
contrib/chibi-scheme.pc.cmake.in
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# pkg-config
|
||||||
|
prefix=@CMAKE_INSTALL_PREFIX@
|
||||||
|
exec_prefix=@CMAKE_INSTALL_FULL_BINDIR@
|
||||||
|
libdir=@CMAKE_INSTALL_FULL_LIBDIR@
|
||||||
|
includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@
|
||||||
|
version=@CMAKE_PROJECT_VERSION@
|
||||||
|
|
||||||
|
Name: chibi-scheme
|
||||||
|
URL: http://synthcode.com/scheme/chibi/
|
||||||
|
Description: Minimal Scheme Implementation for use as an Extension Language
|
||||||
|
Version: ${version}
|
||||||
|
Libs: -L${libdir} -lchibi-scheme
|
||||||
|
Libs.private: -dl -lm
|
||||||
|
Cflags: -I${includedir}
|
Loading…
Add table
Reference in a new issue