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
message( STATUS "-------------------------------------------------------------------------------" ) | |
message( STATUS "Software configuration") | |
message( STATUS "-------------------------------------------------------------------------------" ) | |
add_subdirectory(DemoApp1) | |
add_subdirectory(DemoApp2) | |
add_subdirectory(DemoApp3) |
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) | |
add_subdirectory(Module1) | |
add_subdirectory(Module2) | |
add_subdirectory(Module3) |
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 ) |
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
project(FirstProject) | |
cmake_minimum_required(VERSION 2.8) | |
aux_source_directory(. SRC_LIST) | |
add_executable(${PROJECT_NAME} ${SRC_LIST}) |
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
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
cout << "Hello World!" << endl; | |
return 0; | |
} |
NewerOlder