Add default empty files and a CMakeLists.txt to build.
This commit is contained in:
parent
ffb44d7ba1
commit
ad5fade9f6
12
CMakeLists.txt
Normal file
12
CMakeLists.txt
Normal 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
4
include/libregex.h
Normal file
|
@ -0,0 +1,4 @@
|
|||
#ifndef LIBREGEX_HEADER
|
||||
#define LIBREGEX_HEADER
|
||||
|
||||
#endif
|
1
src/libregex.c
Normal file
1
src/libregex.c
Normal file
|
@ -0,0 +1 @@
|
|||
#include "libregex.h"
|
5
src/main.c
Normal file
5
src/main.c
Normal file
|
@ -0,0 +1,5 @@
|
|||
#include <stdlib.h>
|
||||
|
||||
int main(int argc, char** argv){
|
||||
return EXIT_SUCCESS;
|
||||
}
|
Loading…
Reference in New Issue
Block a user