refactor(infra/main): from *.cpp to *.c

This commit is contained in:
luwenpeng
2024-08-28 18:02:44 +08:00
parent d4c01c3ffb
commit e91343d402
2 changed files with 1 additions and 1 deletions

View File

@@ -9,7 +9,7 @@ add_subdirectory(session_manager)
add_subdirectory(plugin_manager)
add_subdirectory(core)
add_executable(stellar main.cpp)
add_executable(stellar main.c)
target_link_libraries(stellar PRIVATE -Wl,--whole-archive core ${LIBRARY} ${PLUGIN} -Wl,--no-whole-archive)
target_link_libraries(stellar PRIVATE "-rdynamic")
set_target_properties(stellar PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/core/version.map")