cmake support
This commit is contained in:
@@ -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} )
|
||||
|
||||
|
Reference in New Issue
Block a user