Commit 80780b44 authored by Ben Boeckel's avatar Ben Boeckel

Merge topic 'smtk-include-session-files' into release

* smtk-include-session-files:
  Install EncodePyStringFunctions.cmake
  cmake: include the files SMTK installed

Merge-request: !751
parents 1e376d9e 274035a1
......@@ -2,7 +2,7 @@
# operators, configure C++ source that encodes the XML as a string.
# The resulting files are placed in the current binary directory and
# appended to genFiles.
include(EncodeCStringFunctions)
include("${CMAKE_CURRENT_LIST_DIR}/EncodeCStringFunctions.cmake")
function(smtk_operator_xml opSpecs genFiles)
foreach (opSpec ${opSpecs})
get_filename_component(genFileBase "${opSpec}" NAME_WE)
......@@ -17,7 +17,7 @@ endfunction()
# operators, configure Python source that encodes the XML as a string.
# The resulting files are placed in the current binary directory and
# appended to genFiles.
include(EncodePyStringFunctions)
include("${CMAKE_CURRENT_LIST_DIR}/EncodePyStringFunctions.cmake")
function(smtk_pyoperator_xml opSpecs genFiles)
foreach (opSpec ${opSpecs})
get_filename_component(genFileBase "${opSpec}" NAME_WE)
......
......@@ -2,7 +2,7 @@
# a session, configure C++ source that encodes the JSON as a string.
# The resulting files are placed in the current binary directory and
# appended to genFiles.
include(EncodeCStringFunctions)
include("${CMAKE_CURRENT_LIST_DIR}/EncodeCStringFunctions.cmake")
function(smtk_session_json opSpecs genFiles)
foreach (opSpec ${opSpecs})
get_filename_component(genFileBase "${opSpec}" NAME_WE)
......
......@@ -591,6 +591,7 @@ install (FILES ${PROJECT_BINARY_DIR}/smtk/Options.h
install(
FILES
${PROJECT_SOURCE_DIR}/CMake/EncodeCStringFunctions.cmake
${PROJECT_SOURCE_DIR}/CMake/EncodePyStringFunctions.cmake
${PROJECT_SOURCE_DIR}/CMake/SMTKOperatorXML.cmake
${PROJECT_SOURCE_DIR}/CMake/SMTKSessionJSON.cmake
DESTINATION
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment