diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index 41c7668..6b9e89e 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -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}) diff --git a/snippet/main.cpp b/snippet/main.cpp index 400f054..e044af7 100644 --- a/snippet/main.cpp +++ b/snippet/main.cpp @@ -1,8 +1,8 @@ #include #include #include -#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;