-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#90]: Add Windows PEAK PCAN Support
Adds the windows PCAN libraries from the PCAN API. Adds a new hardware plugin for PCAN on Windows. (The linux one is different and I will need to add it seperately). Added readme for 3rd party drivers where we can put any important info related to them. Made all examples support Windows if compiled with -DCAN_DRIVER=WindowsPCANBasic. Fixed attempting to compile unit tests if BUILD_TESTING is enabled but socket CAN is not present. Added a bunch of crazy CMake to detect the target architecture when compiling with MSVC because that functionality is totally broken in CMAKE. See https://gitlab.kitware.com/cmake/cmake/-/issues/15170
- Loading branch information
Showing
17 changed files
with
855 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,7 @@ Makefile | |
|
||
# build | ||
*build | ||
*out | ||
|
||
# Doxygen | ||
*docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
# https://cliutils.gitlab.io/modern-cmake/chapters/install/installing.html | ||
include(CMakeFindDependencyMacro) | ||
|
||
# Add the targets file | ||
include("${CMAKE_CURRENT_LIST_DIR}/isobusTargets.cmake") | ||
if (NOT WIN32) | ||
# Add the targets file | ||
include("${CMAKE_CURRENT_LIST_DIR}/isobusTargets.cmake") | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.