- export Run() from launcher module and add non-module main TU - apply same pattern to module-based test executables - migrate utils/string implementation fully into string.cppm and drop string.cpp - point clangd to linux build compilation database
18 lines
256 B
C++
18 lines
256 B
C++
module;
|
|
|
|
export module lsp.test.module_demo.main;
|
|
|
|
import std;
|
|
|
|
import math;
|
|
import math2;
|
|
|
|
export int Run()
|
|
{
|
|
std::cout << "hello std module\n";
|
|
std::vector<int> v{ 1, 2, 3 };
|
|
math::print_sum(1, 2);
|
|
math2::print_sum(2, 3);
|
|
return 0;
|
|
}
|