Commit 8c102765 authored by Erwan Croze's avatar Erwan Croze 👋🏻

Adding vcard grammar in belcard

parent 34e07ea9
......@@ -41,6 +41,10 @@ set(BELCARD_SOURCE_FILES_CXX
vcard_grammar.cpp
)
set(VCARD_GRAMMAR_FILES
vcard_grammar
)
bc_apply_compile_flags(BELCARD_SOURCE_FILES_C STRICT_OPTIONS_CPP STRICT_OPTIONS_C)
bc_apply_compile_flags(BELCARD_SOURCE_FILES_CXX STRICT_OPTIONS_CPP STRICT_OPTIONS_CXX)
......@@ -89,3 +93,9 @@ install(FILES ${BELCARD_HEADER_FILES}
DESTINATION include/belcard
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
)
install(FILES
${VCARD_GRAMMAR_FILES}
DESTINATION
"${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATADIR}/belr/grammars"
)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment