mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-04 04:16:57 +03:00
Added stdinstance plugin and a ton of plugin stuff.
This commit is contained in:
parent
6e5017e48b
commit
f71479ec33
17 changed files with 614 additions and 7 deletions
31
libinstance/CMakeLists.txt
Normal file
31
libinstance/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
project(stdinstance)
|
||||
|
||||
ADD_DEFINITIONS(-DQT_PLUGIN)
|
||||
|
||||
# Find Qt
|
||||
find_package(Qt5Core REQUIRED)
|
||||
find_package(Qt5Network REQUIRED)
|
||||
|
||||
# Include Qt headers.
|
||||
include_directories(${Qt5Base_INCLUDE_DIRS})
|
||||
include_directories(${Qt5Network_INCLUDE_DIRS})
|
||||
|
||||
# Include MultiMC's headers.
|
||||
include_directories(../../)
|
||||
|
||||
SET(STDINST_HEADERS
|
||||
stdinstplugin.h
|
||||
stdinstancetype.h
|
||||
stdinstance.h
|
||||
)
|
||||
|
||||
SET(STDINST_SOURCES
|
||||
stdinstplugin.cpp
|
||||
stdinstancetype.cpp
|
||||
stdinstance.cpp
|
||||
)
|
||||
|
||||
add_library(stdinstance SHARED ${STDINST_SOURCES} ${STDINST_HEADERS})
|
||||
set_target_properties(stdinstance PROPERTIES PREFIX "")
|
||||
qt5_use_modules(stdinstance Core Network)
|
||||
target_link_libraries(stdinstance quazip patchlib)
|
||||
Loading…
Add table
Add a link
Reference in a new issue