• R/O
  • SSH

cmake_tools: Commit

This library contains CMake code (files with .cmake extentions),
Python scripts and it is intended for simplification different actions
on the organization of the build environment.


Commit MetaInfo

Revisionce643037984027cb46d3b32128da744c5f25fadd (tree)
Time2014-10-20 05:03:31
Authors.gusarov
Commiters.gusarov

Log Message

Initial commit.
Added check_variables.cmake from sptlib.

Change Summary

Incremental Difference

diff -r 000000000000 -r ce6430379840 .hgignore
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore Mon Oct 20 00:03:31 2014 +0400
@@ -0,0 +1,3 @@
1+syntax: glob
2+
3+libcmake_tools_readme.pdf
diff -r 000000000000 -r ce6430379840 .hgsub
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgsub Mon Oct 20 00:03:31 2014 +0400
@@ -0,0 +1,1 @@
1+pymisc = [hg]http://rhodecode.stc-brn.ru/s.gusarov/pymisc
diff -r 000000000000 -r ce6430379840 .hgsubstate
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgsubstate Mon Oct 20 00:03:31 2014 +0400
@@ -0,0 +1,1 @@
1+e51f0519ad2d35d37951687f9edeac873a6fedfd pymisc
diff -r 000000000000 -r ce6430379840 check_variables.cmake
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/check_variables.cmake Mon Oct 20 00:03:31 2014 +0400
@@ -0,0 +1,11 @@
1+function(assertVariableEmpty variable)
2+ if ("${${variable}}" NOT STREQUAL "")
3+ message(FATAL_ERROR "${variable} is not empty")
4+ endif()
5+endfunction(assertVariableNotEmpty)
6+
7+function(assertVariableNotEmpty variable)
8+ if ("${${variable}}" STREQUAL "")
9+ message(FATAL_ERROR "${variable} is empty")
10+ endif()
11+endfunction(assertVariableNotEmpty)
diff -r 000000000000 -r ce6430379840 pack.py
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pack.py Mon Oct 20 00:03:31 2014 +0400
@@ -0,0 +1,17 @@
1+#!/usr/bin/env python3
2+
3+# This script quickly creates a backup archive with proper name
4+
5+import os
6+import subprocess
7+import sys
8+
9+sys.path.append(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'pymisc'))
10+import common_pack
11+
12+__author__ = 'Sergey Gusarov'
13+
14+def main():
15+ common_pack.pack()
16+
17+main()
diff -r 000000000000 -r ce6430379840 readme.rst
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/readme.rst Mon Oct 20 00:03:31 2014 +0400
@@ -0,0 +1,22 @@
1+====================================================================================
2+Репозиторий `libcmake_tools <http://rhodecode.stc-brn.ru/s.gusarov/libcmake_tools>`_
3+====================================================================================
4+
5+Общие сведения
6+--------------
7+
8+Библиотека содержит код (файлы с расширением .cmake) на скриптовом языке
9+`cmake <http://www.cmake.org>`_ и предназначена для упрощения различных
10+действий по организации сборочного окружения.
11+
12+Целевые конфигурации
13+--------------------
14+
15+Cmake 2.8 и выше.
16+
17+Сборка
18+------
19+
20+Не осуществляется. Библиотека работает совместно с другими проектами. Любой cmake-код
21+(например из файлов CMakeLists.txt) может получить доступ к функционалу этой библиотеки
22+посредством директивы include.
Show on old repository browser