diff options
author | Josh Blum | 2012-10-31 20:21:19 -0700 |
---|---|---|
committer | Josh Blum | 2012-10-31 20:21:19 -0700 |
commit | 32f9c796f5b30b7bd802c5f1802a94de2b50ec10 (patch) | |
tree | 9ef78700d66061c580f888121528575557dea971 /python/gras | |
parent | 77f79c8e2c45d816a2ecb869b2869825b3293640 (diff) | |
download | sandhi-32f9c796f5b30b7bd802c5f1802a94de2b50ec10.tar.gz sandhi-32f9c796f5b30b7bd802c5f1802a94de2b50ec10.tar.bz2 sandhi-32f9c796f5b30b7bd802c5f1802a94de2b50ec10.zip |
build system work
Diffstat (limited to 'python/gras')
-rw-r--r-- | python/gras/CMakeLists.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/python/gras/CMakeLists.txt b/python/gras/CMakeLists.txt new file mode 100644 index 0000000..a55d09e --- /dev/null +++ b/python/gras/CMakeLists.txt @@ -0,0 +1,33 @@ +######################################################################## +# Include swig generation macros +######################################################################## +find_package(SWIG) +find_package(PythonLibs) +if(NOT SWIG_FOUND OR NOT PYTHONLIBS_FOUND) + return() +endif() +include(GrSwig) +include(GrPython) +find_package(Boost) #for headers + +######################################################################## +# setup SWIG build +######################################################################## +list(APPEND GR_SWIG_INCLUDE_DIRS ${GRAS_INCLUDE_DIRS}) +list(APPEND GR_SWIG_INCLUDE_DIRS ${Boost_INCLUDE_DIRS}) + +#GR_SWIG_MAKE(${pmc_swig_module} ${pmc_swig_module}.i) +#GR_SWIG_INSTALL( +# TARGETS ${pmc_swig_module} +# DESTINATION ${GR_PYTHON_DIR}/PMC +# COMPONENT ${PMC_COMP_PYTHON} +#) + +######################################################################## +# Install rules +######################################################################## +#GR_PYTHON_INSTALL( +# FILES __init__.py +# DESTINATION ${GR_PYTHON_DIR}/PMC +# COMPONENT ${PMC_COMP_PYTHON} +#) |