project(SteamSDK LANGUAGES CXX) set(CMAKE_CXX_STANDARD 20) set(CMAKE_AUTORCC ON) set(CMAKE_AUTOMOC ON) find_package(QT NAMES Qt6 Qt5 COMPONENTS Core) find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core) set(HEADER public/steam/isteamugc.h public/steam/isteamuser.h public/steam/isteamuserstats.h public/steam/isteamutils.h public/steam/isteamvideo.h public/steam/matchmakingtypes.h public/steam/steam_api.h public/steam/steam_api_common.h public/steam/steam_api_flat.h public/steam/steam_api_internal.h public/steam/steam_gameserver.h public/steam/steamclientpublic.h public/steam/steamdatagram_tickets.h public/steam/steamencryptedappticket.h public/steam/steamhttpenums.h public/steam/steamnetworkingtypes.h public/steam/steamps3params.h public/steam/steamtypes.h public/steam/steamuniverse.h public/steam/isteamapplist.h public/steam/isteamapps.h public/steam/isteamappticket.h public/steam/isteamclient.h public/steam/isteamcontroller.h public/steam/isteamfriends.h public/steam/isteamgamecoordinator.h public/steam/isteamgameserver.h public/steam/isteamgameserverstats.h public/steam/isteamhtmlsurface.h public/steam/isteamhttp.h public/steam/isteaminput.h public/steam/isteaminventory.h public/steam/isteammasterserverupdater.h public/steam/isteammatchmaking.h public/steam/isteammusic.h public/steam/isteammusicremote.h public/steam/isteamnetworking.h public/steam/isteamnetworkingmessages.h public/steam/isteamnetworkingsockets.h public/steam/isteamnetworkingutils.h public/steam/isteamparentalsettings.h public/steam/isteamps3overlayrenderer.h public/steam/isteamremoteplay.h public/steam/isteamremotestorage.h public/steam/isteamscreenshots.h # CUSTOM public/steam/steam_qt_enums_generated.h # ENDCUSTOM ) add_library(${PROJECT_NAME} STATIC ${HEADER}) target_include_directories(${PROJECT_NAME} PUBLIC public/) target_link_libraries(${PROJECT_NAME} PRIVATE Qt${QT_VERSION_MAJOR}::Core)