kopia lustrzana https://github.com/stlink-org/stlink
Removed remnants of unused build target
rodzic
145ca6d64a
commit
48a9db00be
1
Makefile
1
Makefile
|
@ -9,7 +9,6 @@ ci: debug release binary test
|
|||
help:
|
||||
@echo " debug: Run a debug build"
|
||||
@echo " release: Run a release build"
|
||||
@echo " binary: Build Windows-Binary"
|
||||
@echo " lint: Lint check all source-code"
|
||||
@echo " test: Build and run tests"
|
||||
@echo " clean: Clean all build output"
|
||||
|
|
|
@ -41,9 +41,7 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") # FreeBSD; libusb is integrated
|
|||
message(FATAL_ERROR "Expected libusb library not found on your system! Verify your system integrity.")
|
||||
endif ()
|
||||
|
||||
elseif (WIN32 OR (EXISTS "/etc/debian_version" AND ${CMAKE_BUILD_TYPE} MATCHES "Binary"))
|
||||
# Windows & Windows-Binary-Build on Debian/Ubuntu
|
||||
|
||||
elseif (WIN32) # Windows
|
||||
# for MinGW/MSYS/MSVC: 64-bit or 32-bit?
|
||||
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(ARCH 64)
|
||||
|
@ -75,9 +73,7 @@ elseif (WIN32 OR (EXISTS "/etc/debian_version" AND ${CMAKE_BUILD_TYPE} MATCHES "
|
|||
|
||||
if (NOT LIBUSB_FOUND OR EXISTS "/etc/debian_version")
|
||||
# Preparations for installing libusb library
|
||||
|
||||
find_package(_7zip REQUIRED)
|
||||
|
||||
set(LIBUSB_WIN_VERSION 1.0.23) # set libusb version
|
||||
set(LIBUSB_WIN_ARCHIVE libusb-${LIBUSB_WIN_VERSION}.7z)
|
||||
set(LIBUSB_WIN_ARCHIVE_PATH ${CMAKE_BINARY_DIR}/${LIBUSB_WIN_ARCHIVE})
|
||||
|
|
Ładowanie…
Reference in New Issue