asalamon74 / pktriggercord

Remote control for Pentax DSLR cameras
http://pktriggercord.melda.info
GNU Lesser General Public License v3.0
103 stars 38 forks source link

Also do Windows cross-compilation build on Travis CI #19

Closed jmozmoz closed 7 years ago

jmozmoz commented 7 years ago

This pull requests adds the cross-compilation build for Windows to the Travis configuration. Additionally, the Linux and the Windows (by WINE) version of pktriggercord-cli are called with the version option as a very simple test of the build.

I also reorganized the Windows part of the Makefile so the the command line tool can be compiled separately.

The purpose of these changes is the following suggestion to reorganize the Makefile. I think the object files and the final executables for the different operating systems should be build in separate directory. This would avoid the need to call make clean between the different builds. Also at the moment the directory structure is very flat with all source files/man page files etc. in on folder level.

With Travis now executing all builds, such a reorganization should be possible more easily.

asalamon74 commented 7 years ago

The idea is great. I need more time to check it.

asalamon74 commented 7 years ago

Works great. Thanks.