Add project files.

This commit is contained in:
Hepatica
2024-08-09 19:08:09 +02:00
parent d4a6d6bf3a
commit 4899c3fe1e
5 changed files with 111 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# CMakeList.txt : CMake project for SpCloudMain, include source and define
# project specific logic here.
#
# Add source to this project's executable.
add_executable (SpCloudMain "SpCloudMain.cpp" "SpCloudMain.h")
if (CMAKE_VERSION VERSION_GREATER 3.12)
set_property(TARGET SpCloudMain PROPERTY CXX_STANDARD 20)
endif()
# TODO: Add tests and install targets if needed.

View File

@@ -0,0 +1,15 @@
// SpCloudMain.cpp : Defines the entry point for the application.
//
#include "SpCloudMain.h"
using namespace std;
int main()
{
while (true)
{
cout << "Hello CMake." << endl;
}
return 0;
}

View File

@@ -0,0 +1,8 @@
// SpCloudMain.h : Include file for standard system include files,
// or project specific include files.
#pragma once
#include <iostream>
// TODO: Reference additional headers your program requires here.