You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
788 B
32 lines
788 B
include_directories(
|
|
${STAR_EXTERN_INCLUDES}
|
|
${STAR_CORE_INCLUDES}
|
|
${STAR_BASE_INCLUDES}
|
|
)
|
|
|
|
find_package(Qt5Core)
|
|
find_package(Qt5Widgets)
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
set(CMAKE_AUTOMOC ON)
|
|
|
|
set(star_mod_uploader_HEADERS
|
|
StarStringConversion.hpp
|
|
StarModUploader.hpp
|
|
StarSPlainTextEdit.hpp
|
|
)
|
|
|
|
set(star_mod_uploader_SOURCES
|
|
StarModUploader.cpp
|
|
StarSPlainTextEdit.cpp
|
|
main.cpp
|
|
)
|
|
|
|
add_executable(mod_uploader WIN32
|
|
$<TARGET_OBJECTS:star_extern> $<TARGET_OBJECTS:star_core> $<TARGET_OBJECTS:star_base>
|
|
${star_mod_uploader_HEADERS} ${star_mod_uploader_SOURCES})
|
|
qt5_use_modules(mod_uploader Core Gui Widgets)
|
|
target_link_libraries(mod_uploader ${STAR_EXT_LIBS} ${STEAM_API_LIBRARY})
|
|
|
|
set(CMAKE_AUTOMOC OFF)
|
|
set(CMAKE_INCLUDE_CURRENT_DIR OFF)
|
|
|