diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..1c50719 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 3.27) + +project(Ensemble VERSION 0.1 LANGUAGES CXX) + +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) + +find_package(Qt6 REQUIRED COMPONENTS Widgets Multimedia) + +qt_standard_project_setup() + +add_subdirectory(src/app) diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt new file mode 100644 index 0000000..25e84c9 --- /dev/null +++ b/src/app/CMakeLists.txt @@ -0,0 +1,5 @@ +qt_add_executable(ensemble + main.cpp +) + +target_link_libraries(ensemble PRIVATE Qt6::Widgets) diff --git a/src/app/main.cpp b/src/app/main.cpp new file mode 100644 index 0000000..996e4b6 --- /dev/null +++ b/src/app/main.cpp @@ -0,0 +1,15 @@ +#include +#include + +int main (int argc, char* argv[]) +{ + QApplication Ensemble(argc, argv); + + QCoreApplication::setApplicationName("Ensemble"); + QCoreApplication::setApplicationVersion("0.1"); + + QMainWindow main_window {}; + main_window.show(); + + return Ensemble.exec(); +}