[nostalgia] Move Auto-Moc settings to Qt project directories

This commit is contained in:
Gary Talent 2020-11-10 21:28:51 -06:00
parent 8e696baa9f
commit 1d4f03823b
4 changed files with 11 additions and 2 deletions

View File

@ -6,8 +6,6 @@ if(NOSTALGIA_BUILD_TYPE STREQUAL "Native")
if(NOSTALGIA_BUILD_STUDIO)
find_package(Qt5Widgets REQUIRED)
find_package(Qt5QuickWidgets REQUIRED)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
endif()
endif()

View File

@ -1,3 +1,7 @@
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
add_library(
NostalgiaCore-Qt SHARED
gfx.cpp

View File

@ -1,3 +1,7 @@
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
add_library(
NostalgiaCore-Studio SHARED
imgconv.cpp

View File

@ -1,5 +1,8 @@
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
add_executable(
nostalgia-studio MACOSX_BUNDLE
json_read.cpp