Skip to content

Instantly share code, notes, and snippets.

@jagt
Created December 22, 2017 03:53
Show Gist options
  • Save jagt/c6a8efecd26043f8e0db4508cd6a1d84 to your computer and use it in GitHub Desktop.
Save jagt/c6a8efecd26043f8e0db4508cd6a1d84 to your computer and use it in GitHub Desktop.
solution 'embed-civet'
location './build'
configurations {'Debug', 'Release'}
platforms {'x32', 'x64'}
startproject 'main'
includedirs {
'civetweb/include',
}
defines {'USE_WEBSOCKET'}
project 'libcivet'
kind 'StaticLib'
language 'C++'
files {
'civetweb/src/civetweb.c',
'civetweb/src/md5.inl',
'civetweb/src/sha.inl',
'civetweb/src/handle_form.inl',
'civetweb/src/CivetServer.cpp',
}
project 'main'
kind 'ConsoleApp'
language 'C++'
debugargs { "ports", "8889" }
links {
'libcivet'
}
files {
'src/main.cc'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment