Re: [CMake] Python project using Cmake

2015-10-22 Thread Matthew Keeler
Sorry Srinivas, the projects was for a former employer of mine and I no longer have access to it. We were distributing “scripts” as executable zip files (a lesser known feature of Python). So we had a few things going on. include(FindPythonInterp)

[CMake] Python project using Cmake

2015-10-21 Thread srinivas boppu
Hello All, I am new to cmake and its build and ctest system. I read some where that cmake default look for c++ compiler and we need to modify/configure the cmake to recongize the python files. I googled for the same but I couldn't find any concrete and complete example. Any pointers in this

Re: [CMake] Python project using Cmake

2015-10-21 Thread Matthew Keeler
What are you trying to do? Are you trying to build Python C extensions? If so then the FindPythonLibs module will help you in that regard. It will determine if the Python development files are installed and populate variables with the necessary paths to provide to link_directories and

Re: [CMake] Python project using Cmake

2015-10-21 Thread srinivas boppu
Hi Matthew Keeler, Thanks for your quick reply. My project is a pure python project. I wanted to use cmake and ctest for testing my individual python modules. Later on, I might have some "tcl" scripts and may be some c++ sources in the same project. It would be great, if you could share your