diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..0600328 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 2.7) +project(libregex) + +add_library(regex STATIC src/libregex.c) +add_executable(libregex src/main.c) +add_subdirectory(external/libds) + +target_include_directories(regex PUBLIC include) +target_include_directories(libregex PUBLIC include) + +target_link_libraries(regex ds) +target_link_libraries(libregex regex) diff --git a/include/libregex.h b/include/libregex.h new file mode 100644 index 0000000..37043bf --- /dev/null +++ b/include/libregex.h @@ -0,0 +1,4 @@ +#ifndef LIBREGEX_HEADER +#define LIBREGEX_HEADER + +#endif \ No newline at end of file diff --git a/src/libregex.c b/src/libregex.c new file mode 100644 index 0000000..7966466 --- /dev/null +++ b/src/libregex.c @@ -0,0 +1 @@ +#include "libregex.h" \ No newline at end of file diff --git a/src/main.c b/src/main.c new file mode 100644 index 0000000..4874ff5 --- /dev/null +++ b/src/main.c @@ -0,0 +1,5 @@ +#include + +int main(int argc, char** argv){ + return EXIT_SUCCESS; +} \ No newline at end of file