Move source code to src/ dir

This commit is contained in:
ItsDrike 2024-12-05 01:59:15 +01:00
parent 8388a45d74
commit c710d0d1b3
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
7 changed files with 8 additions and 3 deletions

View file

@ -19,15 +19,20 @@ qt_add_executable(appSolitare
qml.qrc
)
file(GLOB_RECURSE SOURCES
src/*.cpp
src/*.h
)
qt_add_qml_module(appSolitare
URI Solitare
VERSION 1.0
SOURCES
playingcard.h playingcard.cpp
gamestate.h gamestate.cpp
columnslot.h columnslot.cpp
${SOURCES}
)
target_include_directories(appSolitare PRIVATE ${CMAKE_SOURCE_DIR}/src)
# Qt for iOS sets MACOSX_BUNDLE_GUI_IDENTIFIER automatically since Qt 6.1.
# If you are developing for iOS or macOS you should consider setting an
# explicit, fixed bundle identifier manually though.