add Library default builder
This commit is contained in:
1 parent
e04e67698a
commit
64d15602cc
8 files changed
+63
No files matched your search
@@ -0,0 +1,4 @@
|
||||
Rscons::Environment.new(echo: :command) do |env|
|
||||
env.Program('library', ['lib.a', 'three.c'])
|
||||
env.Library("lib.a", ['one.c', 'two.c'], 'CPPFLAGS' => ['-Dmake_lib'])
|
||||
end
|
||||
@@ -0,0 +1,8 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef make_lib
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
printf("Library\n");
|
||||
}
|
||||
#endif
|
||||
Whitespace-only changes.
Whitespace-only changes.
Reference in new issue
Block a user