2024-11-06 06:46:35 +08:00
|
|
|
|
2024-11-06 23:45:31 +08:00
|
|
|
if(BUILD_GUI)
|
2024-11-11 10:07:41 +08:00
|
|
|
add_executable(LunaHost WIN32 confighelper.cpp controls.cpp main.cpp processlistwindow.cpp LunaHost.cpp window.cpp ../../../exec/luna.rc pluginmanager.cpp Plugin/extensionimpl.cpp Plugin/copyclipboard.cpp QtLoader_inline.cpp app.manifest ${versioninfohost})
|
2024-11-06 06:46:35 +08:00
|
|
|
target_precompile_headers(LunaHost REUSE_FROM pch)
|
|
|
|
set_target_properties(LunaHost PROPERTIES OUTPUT_NAME "LunaHost${bitappendix}")
|
2024-12-16 01:48:39 +08:00
|
|
|
target_link_libraries(LunaHost comctl32 winhttp pch host nlohmann ${YY_Thunks_for_WinXP} lang_ui)
|
2024-11-06 23:45:31 +08:00
|
|
|
endif()
|
2024-11-06 06:46:35 +08:00
|
|
|
|
|
|
|
if(BUILD_PLUGIN)
|
|
|
|
add_subdirectory(Plugin)
|
|
|
|
endif()
|