Corrected CMakeLists.txt for new directory structure. Corrected snippet for the same reason.
This commit is contained in:
parent
fb9be77a50
commit
c9356571e8
2 changed files with 3 additions and 3 deletions
|
@ -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})
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue