mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
11 lines
562 B
CMake
11 lines
562 B
CMake
|
|
if(BUILD_GUI)
|
|
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})
|
|
target_precompile_headers(LunaHost REUSE_FROM pch)
|
|
set_target_properties(LunaHost PROPERTIES OUTPUT_NAME "LunaHost${bitappendix}")
|
|
target_link_libraries(LunaHost comctl32 winhttp pch host nlohmann ${YY_Thunks_for_WinXP} lang_ui)
|
|
endif()
|
|
|
|
if(BUILD_PLUGIN)
|
|
add_subdirectory(Plugin)
|
|
endif() |