add build test for check_cfg - close #59
This commit is contained in:
1 parent
04c0a6a86f
commit
9975eec165
4 files changed
+30
-1
No files matched your search
@@ -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
|
||||
@@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
printf("This is a simple C program\n");
|
||||
}
|
||||
Reference in new issue
Block a user