mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
5234c555e7
Update retrieval.py
13 lines
486 B
CMake
13 lines
486 B
CMake
|
|
project(LUNA)
|
|
|
|
option(PYSTAND_CONSOLE "Build PyStand as a console application." OFF)
|
|
|
|
# sources
|
|
set(sources PyStand.cpp luna.rc)
|
|
|
|
add_executable(LunaTranslator_debug ${sources})
|
|
target_compile_definitions(LunaTranslator_debug PRIVATE PYSTAND_CONSOLE)
|
|
add_executable(LunaTranslator WIN32 ${sources})
|
|
add_executable(LunaTranslator_admin WIN32 ${sources})
|
|
set_target_properties(LunaTranslator_admin PROPERTIES LINK_FLAGS " /MANIFESTUAC:\"level='requireAdministrator' uiAccess='false'\" ") |