git-svn-id: svn://db.shs.com.ru/pip@968 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -1,3 +1,22 @@
|
||||
# pip_code_model(<out_var> file0 [file1 ...] [OPTIONS opt0 [opt1 ...]] [ABSOLUTE])
|
||||
#
|
||||
# Generate code model files for source files file0 [file1 ...]
|
||||
#
|
||||
# Options you can see by exec "pip_cmg -h"
|
||||
# If not ABSOLUTE source files will be prepended by CMAKE_CURRENT_SOURCE_DIR
|
||||
# You should add ${<out_var>} to your target
|
||||
#
|
||||
#
|
||||
#
|
||||
#
|
||||
# pip_resources(<out_var> file)
|
||||
#
|
||||
# Generate C++ files for resource file
|
||||
# You should add ${<out_var>} to your target
|
||||
#
|
||||
#
|
||||
|
||||
|
||||
macro(PIP_EXTRACT_OPTIONS _pip_files _pip_options _abs)
|
||||
set(${_pip_files})
|
||||
set(${_pip_options})
|
||||
@@ -20,10 +39,6 @@ macro(PIP_EXTRACT_OPTIONS _pip_files _pip_options _abs)
|
||||
endmacro()
|
||||
|
||||
|
||||
# usage: pip_code_model(<out_var> file0 [file1 ...] [OPTIONS opt0 [opt1 ...]] [ABSOLUTE])
|
||||
# options you can see by exec "pip_cmg -h"
|
||||
# if not ABSOLUTE source files will be prepended by CMAKE_CURRENT_SOURCE_DIR
|
||||
# add ${<out_var>} to your target
|
||||
macro(pip_code_model RESULT)
|
||||
PIP_EXTRACT_OPTIONS(CCM_SRC OPTS ABS ${ARGN})
|
||||
#message(STATUS "src = ${CCM_SRC}")
|
||||
@@ -59,8 +74,6 @@ macro(pip_code_model RESULT)
|
||||
endmacro()
|
||||
|
||||
|
||||
# usage: pip_resources(<out_var> file)
|
||||
# add ${<out_var>} to your target
|
||||
macro(pip_resources RESULT INPUT)
|
||||
#message(STATUS "src = ${CCM_SRC}")
|
||||
#message(STATUS "result = ${RESULT}")
|
||||
|
||||
Reference in New Issue
Block a user