From 10db8b9a2bb3157c2f849d2194e11376daabdda1 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Mon, 19 May 2014 13:39:28 +0900 Subject: [PATCH] let embedding files be configurable --- etc/mkloader.pl | 13 +++---------- src/CMakeLists.txt | 3 ++- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/etc/mkloader.pl b/etc/mkloader.pl index 1f397915..565c392b 100755 --- a/etc/mkloader.pl +++ b/etc/mkloader.pl @@ -2,20 +2,13 @@ use strict; -my @files = ( - 'piclib/built-in.scm', - 'piclib/srfi/1.scm', - 'piclib/srfi/26.scm', - 'piclib/srfi/95.scm' - ); - print < ${PROJECT_SOURCE_DIR}/src/load_piclib.c + COMMAND ${PERL_EXECUTABLE} etc/mkloader.pl ${PICLIBS} > ${PROJECT_SOURCE_DIR}/src/load_piclib.c WORKING_DIRECTORY ${PROJECT_SOURCE_DIR} )