diff options
author | Max-001 <80035972+Max-001@users.noreply.github.com> | 2024-09-25 13:32:07 +0200 |
---|---|---|
committer | Max-001 <80035972+Max-001@users.noreply.github.com> | 2024-09-25 13:32:07 +0200 |
commit | 918392ec503a66e369fffa3a5a49c8afccf96a62 (patch) | |
tree | 60733ef5b328b8c9e4688a1038831f3ee4dfa9c7 | |
parent | f4560e02f703f1c6f857c8e5af63fa9fc4ca6438 (diff) |
Setup CMake
-rw-r--r-- | mwe/ecs-homemade/CMakeLists.txt | 10 | ||||
-rw-r--r-- | mwe/ecs-homemade/src/main.cpp | 5 |
2 files changed, 15 insertions, 0 deletions
diff --git a/mwe/ecs-homemade/CMakeLists.txt b/mwe/ecs-homemade/CMakeLists.txt new file mode 100644 index 0000000..26bf600 --- /dev/null +++ b/mwe/ecs-homemade/CMakeLists.txt @@ -0,0 +1,10 @@ +cmake_minimum_required(VERSION 3.5) +project(ecs-homemake) + +# Set the C++ standard (optional, but good practice) +set(CMAKE_CXX_STANDARD 11) +set(CMAKE_CXX_STANDARD_REQUIRED True) + +add_executable(ecs-homemake + src/main.cpp +) diff --git a/mwe/ecs-homemade/src/main.cpp b/mwe/ecs-homemade/src/main.cpp new file mode 100644 index 0000000..f8b829c --- /dev/null +++ b/mwe/ecs-homemade/src/main.cpp @@ -0,0 +1,5 @@ +#include <iostream> + +int main() { + std::cout << "Hello, world!" << std::endl; +} |