cmake support

This commit is contained in:
Vítor Santos Costa
2014-12-14 12:05:43 +00:00
parent 289a36a0a1
commit 90feb7f9f8
32 changed files with 2309 additions and 2047 deletions

View File

@@ -0,0 +1,22 @@
add_library (regexp SHARED regexp.c)
if( NOT HAVE_REGEX_H )
set ( REGEX_SOURCES
cclass.h
cname.h
collate.h
utils.h
yapregex.h
engine.c
regcomp.c
)
endif( NOT HAVE_REGEX_H )
target_link_libraries(regexp libYap ${REGEX_SOURCES})
set_target_properties (regexp PROPERTIES PREFIX "")
install(TARGETS regexp
LIBRARY DESTINATION ${dlls} )