Verified Commit 4c54434a authored by azubieta's avatar azubieta

move sources to src

parent a95a650d
Pipeline #2097 passed with stage
in 2 minutes and 19 seconds
......@@ -71,3 +71,12 @@ Thumbs.db
*.dll
*.exe
# Build
build
cmake-build-*
# vscode
.vscode
\ No newline at end of file
......@@ -26,21 +26,4 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(Qt5 COMPONENTS Core Quick REQUIRED)
if(ANDROID)
add_library(hello-qt-world SHARED
main.cpp
qml.qrc
)
else()
add_executable(hello-qt-world
main.cpp
qml.qrc
)
endif()
target_compile_definitions(hello-qt-world
PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
target_link_libraries(hello-qt-world
PRIVATE Qt5::Core Qt5::Quick)
install(TARGETS hello-qt-world RUNTIME DESTINATION bin)
\ No newline at end of file
add_subdirectory(src)
\ No newline at end of file
if(ANDROID)
add_library(hello-qt-world SHARED
main.cpp
qml.qrc
)
else()
add_executable(hello-qt-world
main.cpp
qml.qrc
)
endif()
target_compile_definitions(hello-qt-world
PRIVATE $<$<OR:$<CONFIG:Debug>,$<CONFIG:RelWithDebInfo>>:QT_QML_DEBUG>)
target_link_libraries(hello-qt-world
PRIVATE Qt5::Core Qt5::Quick)
install(TARGETS hello-qt-world RUNTIME DESTINATION bin)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment