From 464ea75483c9f50c37929d70dd18ba2d8c5e2c49 Mon Sep 17 00:00:00 2001 From: Wirlaburla Date: Sun, 8 Oct 2023 16:34:26 -0500 Subject: [PATCH] correct cmake build to correct new name --- CMakeLists.txt | 4 ++-- src/CMakeLists.txt | 4 ++-- src/urlname.cpp | 18 ------------------ 3 files changed, 4 insertions(+), 22 deletions(-) delete mode 100644 src/urlname.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index 5b647ac..eb823bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,8 @@ cmake_minimum_required(VERSION 3.5) -project(pengobot) +project(p3ng0) SET(CMAKE_CXX_STANDARD 17) SET(CMAKE_CXX_STANDARD_REQUIRED True) SET(CMAKE_CXX_FLAGS "-O3") find_package(CURL REQUIRED) add_subdirectory(src) -install(TARGETS pengobot RUNTIME DESTINATION bin) +install(TARGETS p3ng0 RUNTIME DESTINATION bin) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 0b3ac72..8816bae 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,4 +1,4 @@ -add_executable(pengobot +add_executable(p3ng0 main.cpp ) -target_link_libraries(pengobot curl -static-libgcc -static-libstdc++) +target_link_libraries(p3ng0 curl -static-libgcc -static-libstdc++) diff --git a/src/urlname.cpp b/src/urlname.cpp deleted file mode 100644 index 027dfad..0000000 --- a/src/urlname.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include -#define CURL_STATICLIB -#include -#include -#include -#ifdef __linux__ - #include -#endif - - - -size_t my_array_write(char *ptr, size_t size, size_t nmemb, void *userdata) { - -} - -void getTitle(std::string url, const char* filename) { - -} \ No newline at end of file