add build test for check_cfg - close #59

This commit is contained in:
josh committed 2018-11-23 22:23:01 -05:00
1 parent 04c0a6a86f
commit 9975eec165
4 files changed
+30 -1

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
configure do
check_cfg program: "my-config"
end
Rscons::Environment.new(echo: :command) do |env|
env.Program("myconfigtest", "simple.c")
end
+6
View File
@@ -0,0 +1,6 @@
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("This is a simple C program\n");
}