diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..cc8dc5d --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "cmake/cmlib"] + path = cmake/cmlib + url = ../../root/cmlib diff --git a/CMakeLists.txt b/CMakeLists.txt index 45dc221..91f8397 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,3 +5,11 @@ cmake_policy(VERSION 3.0.2..3.7) # Название проекта project(cmex) +if(IS_DIRECTORY ${CMAKE_SOURCE_DIR}/cmake/cmlib) + list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/cmlib) +else() + message(FATAL_ERROR "CMake library directory not exists") +endif() + +include(CMLibCommon) + diff --git a/cmake/cmlib b/cmake/cmlib new file mode 160000 index 0000000..6e5e08a --- /dev/null +++ b/cmake/cmlib @@ -0,0 +1 @@ +Subproject commit 6e5e08aac02b2b9dce71265e9aff85e758cd3648 diff --git a/cmake/etc/cpack_ignore.txt b/cmake/etc/cpack_ignore.txt new file mode 100644 index 0000000..41b99a3 --- /dev/null +++ b/cmake/etc/cpack_ignore.txt @@ -0,0 +1,14 @@ +.pc/ +.git/ +obj.*/ +build +files/var +debian/tmp/ +debian/files +debian/.*\\\\.log$ +debian/.*.substvars +debian/stamp.* +CMakeLists.txt.user +cmake/lib/.git$ +~$ +\\\\..*\\\\.swp$ diff --git a/cmake/etc/organization.txt b/cmake/etc/organization.txt new file mode 100644 index 0000000..207aee6 --- /dev/null +++ b/cmake/etc/organization.txt @@ -0,0 +1 @@ +org diff --git a/cmake/etc/version.txt b/cmake/etc/version.txt new file mode 100644 index 0000000..17e51c3 --- /dev/null +++ b/cmake/etc/version.txt @@ -0,0 +1 @@ +0.1.1