diff --git a/CMakeLists.txt b/CMakeLists.txt index eb53a08..8881dc0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,7 +37,7 @@ include_directories(SYSTEM ${Boost_INCLUDE_DIRS} ) include_directories( - . + src/ ) link_directories( ${LIBJSON_LIB_DIR} @@ -56,8 +56,8 @@ set_target_properties(json PROPERTIES IMPORTED_LOCATION_NOCONFIG "${LIBJSON_LIB_ add_dependencies(json build_json) add_executable(${PROJECT_NAME} - main.cpp - WordReference.cpp + src/main.cpp + src/WordReference.cpp ) target_link_libraries(${PROJECT_NAME} ${Boost_LIBRARIES} diff --git a/WordReference.cpp b/src/WordReference.cpp similarity index 100% rename from WordReference.cpp rename to src/WordReference.cpp diff --git a/WordReference.hpp b/src/WordReference.hpp similarity index 100% rename from WordReference.hpp rename to src/WordReference.hpp diff --git a/main.cpp b/src/main.cpp similarity index 100% rename from main.cpp rename to src/main.cpp diff --git a/main.hpp b/src/main.hpp similarity index 100% rename from main.hpp rename to src/main.hpp