From 1995415b5e405665fa7d3a4f76bd3cc305e82909 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Sat, 28 Nov 2020 08:32:39 -0500 Subject: [PATCH] Starting over --- CMakeLists.txt | 9 +++++++++ SpotifyDemo/CMakeLists.txt | 9 +++++++++ SpotifyDemo/SpotifyDemo.cpp | 12 ++++++++++++ SpotifyDemo/SpotifyDemo.h | 8 ++++++++ 4 files changed, 38 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 SpotifyDemo/CMakeLists.txt create mode 100644 SpotifyDemo/SpotifyDemo.cpp create mode 100644 SpotifyDemo/SpotifyDemo.h diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..3c26dd5 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,9 @@ +# CMakeList.txt : Top-level CMake project file, do global configuration +# and include sub-projects here. +# +cmake_minimum_required (VERSION 3.8) + +project ("SpotifyDemo") + +# Include sub-projects. +add_subdirectory ("SpotifyDemo") diff --git a/SpotifyDemo/CMakeLists.txt b/SpotifyDemo/CMakeLists.txt new file mode 100644 index 0000000..fa572c1 --- /dev/null +++ b/SpotifyDemo/CMakeLists.txt @@ -0,0 +1,9 @@ +# CMakeList.txt : CMake project for SpotifyDemo, include source and define +# project specific logic here. +# +cmake_minimum_required (VERSION 3.8) + +# Add source to this project's executable. +add_executable (SpotifyDemo "SpotifyDemo.cpp" "SpotifyDemo.h") + +# TODO: Add tests and install targets if needed. diff --git a/SpotifyDemo/SpotifyDemo.cpp b/SpotifyDemo/SpotifyDemo.cpp new file mode 100644 index 0000000..d36512f --- /dev/null +++ b/SpotifyDemo/SpotifyDemo.cpp @@ -0,0 +1,12 @@ +// SpotifyDemo.cpp : Defines the entry point for the application. +// + +#include "SpotifyDemo.h" + +using namespace std; + +int main() +{ + cout << "Hello CMake." << endl; + return 0; +} diff --git a/SpotifyDemo/SpotifyDemo.h b/SpotifyDemo/SpotifyDemo.h new file mode 100644 index 0000000..398ce8c --- /dev/null +++ b/SpotifyDemo/SpotifyDemo.h @@ -0,0 +1,8 @@ +// SpotifyDemo.h : Include file for standard system include files, +// or project specific include files. + +#pragma once + +#include + +// TODO: Reference additional headers your program requires here.