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.
Revision | ce643037984027cb46d3b32128da744c5f25fadd (tree) |
---|---|
Time | 2014-10-20 05:03:31 |
Author | s.gusarov |
Commiter | s.gusarov |
Initial commit.
Added check_variables.cmake from sptlib.
@@ -0,0 +1,3 @@ | ||
1 | +syntax: glob | |
2 | + | |
3 | +libcmake_tools_readme.pdf |
@@ -0,0 +1,1 @@ | ||
1 | +pymisc = [hg]http://rhodecode.stc-brn.ru/s.gusarov/pymisc |
@@ -0,0 +1,1 @@ | ||
1 | +e51f0519ad2d35d37951687f9edeac873a6fedfd pymisc |
@@ -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) |
@@ -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() |
@@ -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. |