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