This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/library/regex/CMakeLists.txt
2016-01-20 22:25:25 +00:00

24 lines
405 B
CMake

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}
ARCHIVE DESTINATION ${dlls} )