distinguish object files built from multiple sources with the same base name but different extensions - close #113

This commit is contained in:
josh committed 2019-12-14 00:10:42 -05:00
1 parent db49d86866
commit 8d05516c40
13 files changed
+121 -103

No files matched your search

@@ -0,0 +1,5 @@
build do
Environment.new do |env|
env.Program("foo.exe", glob("*.cc", "*.c"))
end
end
+6
View File
@@ -0,0 +1,6 @@
#include <stdio.h>
void foo(void)
{
printf("foo\n");
}
+12
View File
@@ -0,0 +1,12 @@
#include <iostream>
extern "C" {
void foo(void);
}
int main(int argc, char * argv[])
{
foo();
std::cout << "main" << std::endl;
return 0;
}