Skip to content

Instantly share code, notes, and snippets.

@smrfeld
Created June 24, 2020 22:04
Show Gist options
  • Save smrfeld/bf6080f58a03005fff840d127ec721fb to your computer and use it in GitHub Desktop.
Save smrfeld/bf6080f58a03005fff840d127ec721fb to your computer and use it in GitHub Desktop.
Basic CMake from VS code
cmake_minimum_required(VERSION 3.0.0)
project(cpp_doxygen_sphinx VERSION 0.1.0)
include(CTest)
enable_testing()
add_library(cpp_doxygen_sphinx cpp_doxygen_sphinx.cpp)
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment