nightwalker-87
b4a4762878
Merge branch 'develop' into build-settings
2020-04-15 22:17:55 +02:00
nightwalker-87
6f934a396e
Whitespace cleanup
2020-04-15 16:20:17 +02:00
nightwalker-87
6eb9103a23
Updated build-settings
...
- Added new build configs for Travis
- Refactoring for cmake modules
- Updated Travis build script
- Makefile: binary build for Windows
2020-04-13 15:02:43 +02:00
nightwalker-87
cadfa94162
General Project Update
...
- Updated travis CI build configuration
- Updated project references
- Minor formatting fixes
2020-04-12 18:26:46 +02:00
nightwalker-87
38c8b8b499
Cleanup
...
- Whitespace fixes
- Removed old appveyor-mingw script
- travis-lin-mingw.sh -> .gitignore
2020-04-08 23:44:51 +02:00
nightwalker-87
af1570ffe9
Minor formatting fixes
2020-04-07 17:11:45 +02:00
nightwalker-87
a8c1f41f1b
Refactoring for libusb detection
2020-04-07 16:10:55 +02:00
nightwalker-87
587fb48ce4
Updated cmake configuration
...
- Alligned formatting
- Updated version requirement
- Updated pkg-maintainer
- [doc] Added note in compiling manual
- Fixed install paths in build script
- Updated C-flag -std=gnu99 to gnu11
2020-04-05 14:25:45 +02:00
nightwalker-87
27aa888211
Updated compiling doc & version support
...
- Added info on version support
- Updated compiling instructions
- Updated minGW-w64 gcc-TC to v8.1.0
- Minor formatting fixes
(Closes #896 , #897 , #899 )
2020-04-04 13:03:22 +02:00
Oleksiy Slyshyk
f36d45ab92
specify correct MD5 for libusb-1.0.23.7z
2020-03-28 21:57:08 +02:00
Oleksiy Slyshyk
cefcb7316c
check MD5 while download libusb
2020-03-28 21:16:32 +02:00
Oleksiy Slyshyk
c27b8f4616
update libusb to 1.0.23
2020-03-25 12:16:52 +02:00
Oleksiy Slyshyk
e49ad2770e
fix intendation in Version.cmake
2020-03-21 21:31:12 +02:00
Oleksiy Slyshyk
ecf86c735b
compare git version with .version
2020-03-01 22:39:43 +02:00
Oleksiy Slyshyk
4d55b6b3bf
make Version.cmake more error-resistant. fix #772
2020-03-01 18:47:59 +02:00
Slyshyk Oleksiy
83a31a09b3
Add win32 travis build ( #2 )
...
* add mingw64 build to travis CI
* Make .travis-lin-mingw.sh executable
* .travis-lin-mingw.sh: make build dir
* show $PWD in travis-lin-mingw
* update .travis-lin-mingw.sh
* ---
* update .travis-lin-mingw.sh
* update p7zip cmd
* fix sign/unsign comparioson in usb.c
* revert call .travis.sh
* clean up .travis-lin-mingw.sh
2020-02-29 16:23:22 +02:00
Slyshyk Oleksiy
a3cb1a1569
build wor windows under Debian/Ubuntu ( #802 )
2019-05-11 19:41:57 +02:00
Thomas Cenova
af325bb989
This fixes the versioning when compiling from the repo checked out with git. ( #762 )
2019-01-24 21:27:08 +01:00
Slyshyk Oleksiy
389fda2443
Update libusb to v1.0.22 ( #695 )
...
* Will not download libusb if it found.
* Checking CMAKE_LIBRARY_PATH before setting as STLINK_LIBRARY_PATH.
2018-03-28 09:49:14 +02:00
orinem
79d91786f7
Stop the sulk with GPL2016 on Windows ( #602 )
...
* Fixes for VS2017.
* Added a getopt implementation.
* Added a unistd.h.
* Corrected closing of sockets for Windows versions.
* Fixed gdbserver CMakeLists.txt to play nice with VS2017.
* Fixed include of getopt.h and unistd.h for WIN32.
* Added a unistd.h.
* Corrected closing of sockets for Windows versions.
* Fixed gdbserver CMakeLists.txt to play nice with VS2017.
* Override /MD to /MT for MSVC to match libusb's builds.
* MSVC settings should be if (MSVC).
* Don't busy-wait for long periods in usleep().
* Dynamic link to MSVC libusb binaries.
* Added Visual Studio section to compiling.md.
* Added -D_CRT_NONSTDC_NO_WARNINGS to MSVC flags.
* Prevented some more warnings under MSVC.
2017-06-17 08:05:47 +02:00
Oliver Schneider
78ced6a325
Don't use `%zx` because it's unsupported on mingw64 ( #578 )
...
* Don't use `%zx` because it's unsupported on mingw64
* Also check that no warnings happen on travis
* Prefer `unsigned int` over `unsigned`
* Install libusb through the travis whitelist instead of manually
* Test stlink against clang and gcc through the travis "compiler" flag instead of a manual matrix
* Re-add osx
* Fix warning on gcc
2017-03-24 23:11:09 +01:00
Slyshyk Oleksiy
1adaedbdbc
Update libusb to 1.0.21 under windows ( #562 )
...
* fix wrong libusb extract command
* update libusb to 1.0.21 under windows
2017-03-01 19:56:24 +01:00
Jerry Jacobs
5b69f25198
cmake/CPackConfig.cmake: Allow building of debian package with CPack
2017-02-28 20:09:46 +01:00
Jerry Jacobs
f546110baf
cmake/CPackConfig.cmake: Fixup OSX zip filename
2017-01-28 12:09:37 +01:00
Jerry Jacobs
4868a62fbf
Prepare for win64 static executable builds
2017-01-28 11:30:30 +01:00
Jerry Jacobs
bf1b81b930
Prepare for v1.3.0 release, update ChangeLog.md
2017-01-28 10:12:53 +01:00
Jerry Jacobs
0c63a2cffc
cmake/Version.cmake: Fix version detection when building from zipfile (non-git tree). Fixes #523
2016-12-05 17:36:37 +01:00
Slyshyk Oleksiy
470fc2b309
fix cmake wrong libusb extract command for windows ( fixes #511 )
2016-11-07 10:49:16 +01:00
Jerry Jacobs
68b0f3bddc
Initial work to fix cygwin builds
2016-10-22 09:44:37 +02:00
Andrew Andrianov
650a88aa2c
debian: Remove all useless stuff from debian/rules, force cmake buildsystem
...
The top-level makefile that was used to drive cmake broke the autodetection
of the used buildsystem by debhelper. This commit fixes it and moves most
of the installation stuff to CMakeLists.txt to keep debian/ folder contents
to the bare minimum.
Signed-off-by: Andrew Andrianov <andrew@ncrmnt.org>
2016-10-04 13:56:05 +03:00
Jerry Jacobs
4209e4b924
cmake: Refactor into seperate files, fix project version detection when everything fails (travis)
2016-09-16 15:42:34 +02:00
Jerry Jacobs
c42de25204
cmake: Fix building with MinGw64
2016-09-15 14:55:18 +02:00
Jerry Jacobs
10f965e45d
cmake/modules/pandocology.cmake: Uncomment search of pandoc, due to previous local testing
2016-09-15 10:46:13 +02:00
Jerry Jacobs
1ade678f9c
Refactor main CMakeLists.txt. Generate manpages when pandoc is present in Debug builds. Add top level Makefile
2016-09-15 10:44:01 +02:00
Jerry Jacobs
4ad75ead78
cmake/modules/FindLibUSB.cmake: Use correct FindLibUSB.cmake
2016-09-08 14:31:08 +02:00
Jerry Jacobs
fca819f8f9
cmake/modules/FindLibUSB.cmake: Fix build on FreeBSD
2016-09-08 16:16:39 +02:00
Jerry Jacobs
9aac78d184
Deprecate autotools
2016-08-03 20:02:50 +02:00
Jerry Jacobs
f8d711818d
cmake: Search for static libusb-1.0 library on OSX and link with ObjC,CoreFoundation and IOKit frameworks
2016-05-20 20:36:41 +02:00
Jerry Jacobs
d15a2535ca
CMake: Dont use pkg-config to find libusb on Mac OSX, rewrite to CMake find module (tested on homebrew only)
2016-05-05 12:52:58 +02:00