feat: 🔥 oh god
This commit is contained in:
parent
cdb5492bfe
commit
3c7f48016d
30 changed files with 708 additions and 280 deletions
23
test/faux_build_dir/cpp/main.cpp
Normal file
23
test/faux_build_dir/cpp/main.cpp
Normal file
|
@ -0,0 +1,23 @@
|
|||
|
||||
// Your First C++ Program
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "main.h"
|
||||
|
||||
void print_bar() {
|
||||
std::cout << "Bar";
|
||||
}
|
||||
|
||||
#ifdef COMF_MAIN
|
||||
|
||||
int main() {
|
||||
|
||||
print_bar();
|
||||
print_foo();
|
||||
|
||||
std::cout << "Hello World!";
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
9
test/faux_build_dir/cpp/main.h
Normal file
9
test/faux_build_dir/cpp/main.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
|
||||
|
||||
#pragma once
|
||||
|
||||
// comf.reference main.cpp
|
||||
// comf.reference main2.cpp
|
||||
|
||||
void print_foo();
|
||||
void print_bar();
|
22
test/faux_build_dir/cpp/main2.cpp
Normal file
22
test/faux_build_dir/cpp/main2.cpp
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
// Your First C++ Program
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "main.h"
|
||||
|
||||
void print_foo() {
|
||||
std::cout << "Foo";
|
||||
}
|
||||
|
||||
#ifdef COMF_MAIN
|
||||
|
||||
int main() {
|
||||
print_foo();
|
||||
print_bar();
|
||||
|
||||
std::cout << "Hello World!";
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
|
@ -1,8 +0,0 @@
|
|||
|
||||
|
||||
#include "main.h"
|
||||
#include <stdint.h>
|
||||
|
||||
int main() {
|
||||
return 0;
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "lib_test/test.h"
|
1
test/faux_build_dir/vhdl/comf.yml
Normal file
1
test/faux_build_dir/vhdl/comf.yml
Normal file
|
@ -0,0 +1 @@
|
|||
test: Hellooooo
|
Loading…
Add table
Add a link
Reference in a new issue