expose glob method directly to Rsconscript - close #97
This commit is contained in:
1 parent
c23426c5aa
commit
921f0d2cb1
14 files changed
+49
-51
No files matched your search
@@ -1,13 +1,13 @@
|
||||
build do
|
||||
Environment.new do |env|
|
||||
env["CPPPATH"] << "src/lib"
|
||||
libmine = env.SharedLibrary("mine", Rscons.glob("src/lib/*.c"))
|
||||
libmine = env.SharedLibrary("mine", glob("src/lib/*.c"))
|
||||
env.Program("test-shared.exe",
|
||||
Rscons.glob("src/*.c"),
|
||||
glob("src/*.c"),
|
||||
"LIBPATH" => %w[.],
|
||||
"LIBS" => %w[mine])
|
||||
env.build_after("test-shared.exe", libmine)
|
||||
env.Program("test-static.exe",
|
||||
Rscons.glob("src/**/*.c"))
|
||||
glob("src/**/*.c"))
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user