♻️ refactor(lsp_server): move entrypoints out of named modules
- 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
This commit is contained in:
@@ -15,6 +15,7 @@ if(UNIX AND NOT APPLE)
|
||||
endif()
|
||||
|
||||
set(SOURCES
|
||||
main.cc
|
||||
test_async_executor.cppm)
|
||||
|
||||
add_executable(${PROJECT_NAME} ${SOURCES})
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
import lsp.test.scheduler.async_executor;
|
||||
|
||||
int main()
|
||||
{
|
||||
return Run();
|
||||
}
|
||||
@@ -55,7 +55,7 @@ namespace
|
||||
};
|
||||
}
|
||||
|
||||
int main()
|
||||
export int Run()
|
||||
{
|
||||
SchedulerTestSuite suite;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user