diff --git a/CMakeLists.txt b/CMakeLists.txt index c7a6e167..c5a39a3d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -49,6 +49,7 @@ ExternalProject_Add (common-1.0 ) add_subdirectory (src) +add_subdirectory (src/commands) add_subdirectory (doc) if (EXISTS ${CMAKE_SOURCE_DIR}/test) add_subdirectory (test EXCLUDE_FROM_ALL) @@ -66,5 +67,6 @@ set (CPACK_SOURCE_PACKAGE_FILE_NAME ${PACKAGE_NAME}-${PACKAGE_VERSION}) set (CPACK_SOURCE_IGNORE_FILES "CMakeCache" "CMakeFiles" "CPackConfig" "CPackSourceConfig" "_CPack_Packages" "cmake_install" "install_manifest" "Makefile$" "test" "package-config" "src/timew$" "src/libtimew.a" + "src/commands/libcommands.a" "/\\\\.gitignore" "/\\\\.git/" "swp$" "src/gr$") include (CPack) diff --git a/src/commands/CMakeLists.txt b/src/commands/CMakeLists.txt new file mode 100644 index 00000000..c1f8773b --- /dev/null +++ b/src/commands/CMakeLists.txt @@ -0,0 +1,10 @@ +cmake_minimum_required (VERSION 2.8) +include_directories (${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/src + ${CMAKE_SOURCE_DIR}/src/commands + ${TIMEW_INCLUDE_DIRS}) + +set (commands_SRCS CmdHelp.cpp) + +add_library (commands STATIC ${commands_SRCS}) +