Corrected CMakeLists.txt for new directory structure. Corrected snippet for the same reason.

This commit is contained in:
Claudio Maggioni 2017-01-03 18:21:29 +01:00
parent fb9be77a50
commit c9356571e8
2 changed files with 3 additions and 3 deletions

View file

@ -25,7 +25,7 @@ cmake_minimum_required(VERSION 2.8)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -lpopt")
list(APPEND SRC_LIST "command.cpp" "commandexecutor.h" "commands.cpp" "datas.cpp" "shell.cpp" "stringtoargcargv.cpp"
"commandexecutor.cpp" "command.h" "data.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/../msh-console-snippet/main.cpp" "shell.h" "stringtoargcargv.h")
"commandexecutor.cpp" "command.h" "data.cpp" "${CMAKE_CURRENT_SOURCE_DIR}/../snippet/main.cpp" "shell.h" "stringtoargcargv.h")
set(lib Off) #off=debug demo with main.cpp, on=library
if(${lib})

View file

@ -1,8 +1,8 @@
#include <cstdlib>
#include <cstring>
#include <iostream>
#include "../msh-console-library/shell.h"
#include "../msh-console-library/command.h"
#include "../library/shell.h"
#include "../library/command.h"
using namespace std;
using namespace mshconsole;