Add default empty files and a CMakeLists.txt to build.

This commit is contained in:
Danila Fedorin 2017-01-02 17:54:25 -08:00
parent ffb44d7ba1
commit ad5fade9f6
4 changed files with 22 additions and 0 deletions

12
CMakeLists.txt Normal file
View File

@ -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)

4
include/libregex.h Normal file
View File

@ -0,0 +1,4 @@
#ifndef LIBREGEX_HEADER
#define LIBREGEX_HEADER
#endif

1
src/libregex.c Normal file
View File

@ -0,0 +1 @@
#include "libregex.h"

5
src/main.c Normal file
View File

@ -0,0 +1,5 @@
#include <stdlib.h>
int main(int argc, char** argv){
return EXIT_SUCCESS;
}