mirror of
https://github.com/HIllya51/LunaHook.git
synced 2024-11-24 06:15:35 +08:00
21 lines
653 B
CMake
21 lines
653 B
CMake
if(0)
|
|
include(QtUtils.cmake)
|
|
msvc_registry_search()
|
|
if(Qt5_DIR)
|
|
find_qt5(Core Widgets)
|
|
#set(CMAKE_AUTOMOC ON)
|
|
add_library(QtLoader MODULE QtLoader.cpp)
|
|
#qt5_wrap_cpp(MOC_SOURCES QtLoader.h)
|
|
#target_sources(QtLoader PRIVATE ${MOC_SOURCES})
|
|
target_link_libraries(QtLoader Qt5::Widgets Qt5::Core)
|
|
set_target_properties(QtLoader PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/plugin${bitappendix}")
|
|
endif()
|
|
endif()
|
|
if(DEFINED PLUGIN)
|
|
include(QtUtils.cmake)
|
|
#msvc_registry_search()
|
|
#if(Qt5_DIR)
|
|
find_qt5(Core Widgets WebSockets)
|
|
add_subdirectory(extensions)
|
|
#endif()
|
|
endif() |