Skip to content

Instantly share code, notes, and snippets.

@fwsGonzo
Last active October 4, 2019 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fwsGonzo/147a860d20e5bbf644b1b324be33b67a to your computer and use it in GitHub Desktop.
Save fwsGonzo/147a860d20e5bbf644b1b324be33b67a to your computer and use it in GitHub Desktop.
cmake_minimum_required (VERSION 3.0.2)
project (vmod C)
include(../cmake/vmod.cmake vmod)
add_vmod(vmod_example vmod_example.vcc "Example VMOD"
vmod_example.c
)
vmod_add_tests(vmod_example
tests/vtc01.vtc
)
# for those interested in versioning the shared object
set_target_properties(vmod_example PROPERTIES
VERSION 1 # build version
SOVERSION 1 # API version
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment