[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] [gnuradio] 03/07: Updated gr_modtool CMake files to pr
From: |
git |
Subject: |
[Commit-gnuradio] [gnuradio] 03/07: Updated gr_modtool CMake files to properly handle template expansion. Previously template expansion failed due to incorrectly configured python paths |
Date: |
Thu, 31 Mar 2016 05:49:51 +0000 (UTC) |
This is an automated email from the git hooks/post-receive script.
jcorgan pushed a commit to branch maint
in repository gnuradio.
commit 9c00e62d9654e0a7f4428f62f398106861d7165d
Author: Jacob Gilbert <address@hidden>
Date: Tue Mar 29 07:23:23 2016 -0700
Updated gr_modtool CMake files to properly handle template expansion.
Previously template expansion failed due to incorrectly configured python paths
---
gr-utils/python/modtool/gr-newmod/CMakeLists.txt | 1 +
gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake | 3 +++
2 files changed, 4 insertions(+)
diff --git a/gr-utils/python/modtool/gr-newmod/CMakeLists.txt
b/gr-utils/python/modtool/gr-newmod/CMakeLists.txt
index 0513f44..9b41b99 100644
--- a/gr-utils/python/modtool/gr-newmod/CMakeLists.txt
+++ b/gr-utils/python/modtool/gr-newmod/CMakeLists.txt
@@ -112,6 +112,7 @@ find_package(Doxygen)
# API compatible version required.
set(GR_REQUIRED_COMPONENTS RUNTIME)
find_package(Gnuradio "3.7.2" REQUIRED)
+list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/Modules)
if(NOT CPPUNIT_FOUND)
message(FATAL_ERROR "CppUnit required to compile howto")
diff --git a/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake
b/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake
index 188c404..5bad57c 100644
--- a/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake
+++ b/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake
@@ -363,6 +363,7 @@ macro(GR_EXPAND_X_H component root)
import sys, os, re
sys.path.append('${GR_RUNTIME_PYTHONPATH}')
+sys.path.append('${CMAKE_SOURCE_DIR}/python')
os.environ['srcdir'] = '${CMAKE_CURRENT_SOURCE_DIR}'
os.chdir('${CMAKE_CURRENT_BINARY_DIR}')
@@ -406,6 +407,7 @@ macro(GR_EXPAND_X_CC_H component root)
import sys, os, re
sys.path.append('${GR_RUNTIME_PYTHONPATH}')
+sys.path.append('${CMAKE_SOURCE_DIR}/python')
os.environ['srcdir'] = '${CMAKE_CURRENT_SOURCE_DIR}'
os.chdir('${CMAKE_CURRENT_BINARY_DIR}')
@@ -466,6 +468,7 @@ macro(GR_EXPAND_X_CC_H_IMPL component root)
import sys, os, re
sys.path.append('${GR_RUNTIME_PYTHONPATH}')
+sys.path.append('${CMAKE_SOURCE_DIR}/python')
os.environ['srcdir'] = '${CMAKE_CURRENT_SOURCE_DIR}'
os.chdir('${CMAKE_CURRENT_BINARY_DIR}')
- [Commit-gnuradio] [gnuradio] branch maint updated (8350ee9 -> 0341203), git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 05/07: Merge remote-tracking branch 'nowls/fix_corr_access_code' into maint, git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 01/07: digital: fix access code mask in correlate_access_code_XX_ts, git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 04/07: volk: update submodule pointer to latest, git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 07/07: Merge remote-tracking branch 'jgilbert/template_expansion' into maint, git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 06/07: Merge remote-tracking branch 'jgilbert/head_nitems_fix' into maint, git, 2016/03/31
- [Commit-gnuradio] [gnuradio] 03/07: Updated gr_modtool CMake files to properly handle template expansion. Previously template expansion failed due to incorrectly configured python paths,
git <=
- [Commit-gnuradio] [gnuradio] 02/07: head block nitems setter now takes uint64_t instead of 'int' allowing values greater than 2^31 to be set, git, 2016/03/31