pothosware / PothosSDR

Pothos SDR windows development environment
https://github.com/pothosware/PothosSDR/wiki
311 stars 48 forks source link

Better build system #2

Closed guruofquality closed 9 years ago

guruofquality commented 9 years ago

The build system for this development environment is just a very large batch script that installs dependencies, clone repositories, and configures and builds the software packages. This is great until something crashes a long the way as the script isn't very fault tolerant. What's cool is that CMake has this External Project module that creates build targets for other projects. You can enter git repos and build commands, and dependencies on other projects. In essence, I can make a CMake project to build other CMake projects that handles faults better and can build based on dependency ordering.

guruofquality commented 9 years ago

http://www.cmake.org/cmake/help/v3.0/module/ExternalProject.html worked out really well