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
Vítor Santos Costa 90feb7f9f8 cmake support
2014-12-14 12:05:43 +00:00

23 lines
375 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} )