Add proper build system
This commit is contained in:
parent
e9e9a3bbc5
commit
e10a41fea8
14 changed files with 331 additions and 9 deletions
17
CMakeLists.txt
Normal file
17
CMakeLists.txt
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# Copyright (C) 2017 Jonathan Müller <jonathanmueller.dev@gmail.com>
|
||||
# This file is subject to the license terms in the LICENSE file
|
||||
# found in the top-level directory of this distribution.
|
||||
|
||||
cmake_minimum_required(VERSION 3.3)
|
||||
project(cppast VERSION 0.0)
|
||||
|
||||
# options
|
||||
option(CPPAST_BUILD_TEST "whether or not to build the tests" ON)
|
||||
|
||||
include(external/external.cmake)
|
||||
|
||||
add_subdirectory(src)
|
||||
if(CPPAST_BUILD_TEST)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue