Skip to content

Instantly share code, notes, and snippets.

View madduci's full-sized avatar

Michele Adduci madduci

View GitHub Profile
@madduci
madduci / CMakeLists.txt
Created December 16, 2014 10:33
Modern C++ - Applications/CMakeLists.txt
message( STATUS "-------------------------------------------------------------------------------" )
message( STATUS "Software configuration")
message( STATUS "-------------------------------------------------------------------------------" )
add_subdirectory(DemoApp1)
add_subdirectory(DemoApp2)
add_subdirectory(DemoApp3)
@madduci
madduci / CMakeLists.txt
Last active August 29, 2015 14:11
Modern C++ - Modules/CMakeLists.txt
cmake_minimum_required(VERSION 2.8.11)
add_subdirectory(Module1)
add_subdirectory(Module2)
add_subdirectory(Module3)
@madduci
madduci / CMakeLists.txt
Last active August 29, 2015 14:11
Modern C++ - main CMakeLists.txt
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 )
@madduci
madduci / CMakeList.txt
Last active August 29, 2015 14:11
Modern C++ - Hello World CMake
project(FirstProject)
cmake_minimum_required(VERSION 2.8)
aux_source_directory(. SRC_LIST)
add_executable(${PROJECT_NAME} ${SRC_LIST})
@madduci
madduci / hello_world.cpp
Created December 15, 2014 07:19
Modern C++ - Hello World
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
return 0;
}