Updated CMakeLists.txt

CMakeLists with prebuild only worked with vs, now using dependency instead. Also findpythoninterp wasn't correcly getting the desired python version, fixed to select python 2.7. Test exec definition also moved around a tad, code is missing catch thouth which is an issue?
CmakeLists

playing to try and get catch to build
added dl
CMake

Can now compile with catch with no errors, although there are errors within the
test cases. Also added a check in the generate_headers.py file to see if the
headers have already been generated (this is a proposal and can be removed)
because it's time consuming when there is no changes to those files. the change
is fairly dumb (check if file .JSON_done exists) and doesn't consider the
modification time of the files.
PolyMath.cpp

If this is the test entry point should define this in a makefile with -D
or in the cmake file. Then it's more clear? unless this is absolutely needed
match PolyMath.cpp old

Define -DCATCH_CONFIG_MAIN in src/PolyMath.cpp using the cmake build
test travis
travis
fix
fix
fix
fix
working
Update travis to debug config and be more verbose
remove old cmakelists from src/
Update .travis.yml

Change language to cpp
Update .travis.yml
Update .travis.yml
First cut at octave + Cmake.  Seems there is a problem with MSVC and octave now - used to work.

Signed-off-by: Ian bell <ian.h.bell@gmail.com>
Use cpversion.h instead of version.h to reduce name clashing in headers

Signed-off-by: Ian bell <ian.h.bell@gmail.com>