Add tasks - close #139

This commit is contained in:
josh committed 2022-01-30 13:45:06 -05:00
1 parent f5ab51c477
commit bd9cf55b85
149 files changed
+1578 -1063

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
configure do
check_c_compiler "nope.nope"
end
default
+2
View File
@@ -1 +1,3 @@
autoconf false
Environment.new do |env|
end
+1 -1
View File
@@ -3,7 +3,7 @@ configure do
check_c_header "stdio.h"
end
build do
default do
Environment.new do |env|
env.Program("simple.exe", "simple.c")
end
@@ -1,3 +1,4 @@
configure do
check_c_compiler
end
default
@@ -3,7 +3,7 @@ configure do
check_c_header "frobulous.h", check_cpppath: ["./usr2"]
end
build do
default do
Environment.new do |env|
env.Object("test.o", "test.c")
end
@@ -2,7 +2,7 @@ configure do
check_c_header "not___found.h", set_define: "HAVE_NOT___FOUND_H"
end
build do
default do
Environment.new(echo: :command) do |env|
env.Object("simple.o", "simple.c")
end
@@ -2,7 +2,7 @@ configure do
check_c_header "string.h", set_define: "HAVE_STRING_H"
end
build do
default do
Environment.new(echo: :command) do |env|
env.Object("simple.o", "simple.c")
end
+1 -1
View File
@@ -2,7 +2,7 @@ configure do
check_cfg program: "my-config"
end
build do
default do
Environment.new(echo: :command) do |env|
env.Program("myconfigtest", "simple.c")
end
+1 -1
View File
@@ -2,7 +2,7 @@ configure do
check_cfg package: "mypackage"
end
build do
default do
Environment.new(echo: :command) do |env|
env.Program("myconfigtest", "simple.c")
end
+1 -1
View File
@@ -2,7 +2,7 @@ configure do
check_cfg package: "mypackage", use: "myp"
end
build do
default do
Environment.new(echo: :command) do |env|
env.Copy("myconfigtest1.c", "simple.c")
env.Program("myconfigtest1.exe", "myconfigtest1.c")
@@ -3,7 +3,7 @@ configure do
check_cxx_header "frobulous.h", check_cpppath: ["./usr2"]
end
build do
default do
Environment.new do |env|
env.Object("test.o", "test.cc")
end
@@ -4,7 +4,7 @@ configure do
check_d_import "frobulous", check_d_import_path: ["./usr2"]
end
build do
default do
Environment.new do |env|
env.Object("test.o", "test.d")
end
+1 -1
View File
@@ -1,4 +1,4 @@
build do
default do
Environment.new(echo: :command) do |env|
env.Library("usr2/libfrobulous.a", "two.c")
end
+1 -1
View File
@@ -3,7 +3,7 @@ configure do
check_lib "frobulous", check_libpath: ["./usr2"]
end
build do
default do
Environment.new(echo: :command) do |env|
env.Program("simple.exe", "simple.c")
end
+1 -1
View File
@@ -2,7 +2,7 @@ configure do
check_lib "m"
end
build do
default do
Environment.new(echo: :command) do |env|
env.Program("simple.exe", "simple.c")
end
+1 -1
View File
@@ -2,7 +2,7 @@ configure do
check_lib "m", use: :m
end
build do
default do
Environment.new(echo: :command) do |env|
env.Copy("test1.c", "simple.c")
env.Program("test2.exe", "test1.c")
+1 -1
View File
@@ -2,7 +2,7 @@ configure do
check_lib "m", use: false
end
build do
default do
Environment.new(echo: :command) do |env|
env.Copy("test1.c", "simple.c")
env.Program("test2.exe", "test1.c")
+1 -1
View File
@@ -23,7 +23,7 @@ configure do
end
end
build do
default do
Environment.new do |env|
puts env["CPPDEFINES"]
end
@@ -1,3 +0,0 @@
Environment.new do |env|
env.Object("simple.o", "simple.cc")
end
+1 -1
View File
@@ -3,7 +3,7 @@ configure do
check_c_header "stdio.h", set_define: "HAVE_STDIO_H"
end
build do
default do
Environment.new(echo: :command) do |env|
env.Object("simple.o", "simple.c")
end