Last active
August 29, 2015 14:11
-
-
Save madduci/d5c0dc539acf5bf3fbc4 to your computer and use it in GitHub Desktop.
Modern C++ - main CMakeLists.txt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 2.8.11) | |
#----------------------------- | |
# Project Settings | |
#----------------------------- | |
SET(PROJECTNAME "ModernCpp") | |
PROJECT(${PROJECTNAME} CXX) | |
SET( ${PROJECT_NAME}_MAJOR_VERSION 0 ) | |
SET( ${PROJECT_NAME}_MINOR_VERSION 1 ) | |
SET( ${PROJECT_NAME}_PATCH_LEVEL 0 ) | |
SET( ${PROJECT_NAME}_VERSION_STRING | |
${${PROJECT_NAME}_MAJOR_VERSION}.${${PROJECT_NAME}_MINOR_VERSION}.${${PROJECT_NAME}_PATCH_LEVEL}) | |
#General CMake/Project Settings | |
INCLUDE(${CMAKE_SOURCE_DIR}/CMakeModules/project_props.cmake) | |
#----------------------------- | |
# Subproject Includes | |
#----------------------------- | |
SET(PROJECT_PREFIX_NAME "modcpp") | |
ADD_SUBDIRECTORY(Modules) | |
ADD_SUBDIRECTORY(Applications) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment