diff --git a/CMakeLists.txt b/CMakeLists.txt index 98c6be8..923b9ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,12 +1,3 @@ -cmake_minimum_required(VERSION 3.0) -include(GNUInstallDirs) -project(HelloApp - VERSION 1.0 - LANGUAGES CXX -) - -find_package(HelloLibrary REQUIRED) -add_executable(HelloExec main.cpp) -target_link_libraries(HelloExec PRIVATE HelloLibrary::HelloLibrary) - -install(TARGETS HelloExec DESTINATION bin) \ No newline at end of file +cmake_minimum_required(VERSION 3.24) +project(hello_world LANGUAGES CXX) +add_executable(test HelloWorld.cpp) \ No newline at end of file diff --git a/HelloWorld.cpp b/HelloWorld.cpp new file mode 100644 index 0000000..28d35bc --- /dev/null +++ b/HelloWorld.cpp @@ -0,0 +1,6 @@ +#include + +int main() +{ + std::cout << "Hello, World!\n"; +} \ No newline at end of file