-
Notifications
You must be signed in to change notification settings - Fork 280
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/devel'
- Loading branch information
Showing
115 changed files
with
27,119 additions
and
1,191 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 |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<!-- | ||
Thanks for filing an OSCC issue! You're making our ecosystem a better place! | ||
Below are some templates to get you started, filling out any that are relevant | ||
to this issue will help us a lot! Feel free to delete any information or text | ||
that isn't relevant to your issue. | ||
--> | ||
|
||
<!-- Questions about purchasing and pricing for OSCC boards or DriveKit? | ||
Shoot an email to drivekit@polysync.io --> | ||
|
||
|
||
|
||
<!-- | ||
Technical issue template. | ||
Are you having a technical issue? Fill in the following blocks to help us | ||
tackle it! | ||
--> | ||
|
||
### Expected behavior | ||
<!-- What should be happening? --> | ||
|
||
### Actual behavior | ||
<!-- What behavior are you seeing? --> | ||
|
||
### Steps to reproduce | ||
<!-- How can we make it happen too? --> | ||
|
||
### Version info | ||
- _What's the output of running `git describe --tags` in your OSCC directory?_ | ||
- _Is this the same version flashed onto the hardware?_ | ||
|
||
### Hardware info | ||
<!-- Are you using a custom board or something received from us? --> | ||
|
||
|
||
|
||
<!-- | ||
Feature/changes issue template. | ||
Are you interested in a new feature or a change to something that exists? | ||
Fill in the following blocks to help us understand it! | ||
--> | ||
|
||
### Proposed feature or changes | ||
<!-- What would you like to accomplish? --> | ||
|
||
### Use case | ||
<!-- How would you like to do it? --> | ||
|
||
|
||
|
||
<!-- | ||
Documentation issue template. | ||
Have you found a bug in documentation or wish something was documented that | ||
isn't? Fill in the following blocks to help us help you! | ||
--> | ||
|
||
### Documentation expected | ||
<!-- What information would help you? Where would you expect to find it? --> | ||
|
||
### Documentation available | ||
<!-- What were you able to find? Was it in the right spot? --> | ||
|
||
|
||
<!-- | ||
Is your issue something that doesn't fit any of the templates above? | ||
Let us know here! | ||
--> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
cmake_minimum_required(VERSION 2.8) | ||
|
||
project(osccapi) | ||
|
||
include(${CMAKE_SOURCE_DIR}/OsccConfig.cmake) | ||
|
||
set(INCLUDES ${CMAKE_SOURCE_DIR}/include ${CMAKE_SOURCE_DIR}/src) | ||
set(SOURCES ${CMAKE_SOURCE_DIR}/src/oscc.c) | ||
set_source_files_properties(SOURCES PROPERTIES LANGUAGE C) | ||
|
||
set(OBJECTS ${PROJECT_NAME}_objects) | ||
set(SHARED_LIB ${PROJECT_NAME}_shared_lib) | ||
set(STATIC_LIB ${PROJECT_NAME}_static_lib) | ||
|
||
# Reuse object files for both shared and static libraries | ||
# rather than recompiling for both | ||
add_library(${OBJECTS} OBJECT ${SOURCES}) | ||
target_include_directories(${OBJECTS} PUBLIC ${INCLUDES}) | ||
set_target_properties(${OBJECTS} PROPERTIES POSITION_INDEPENDENT_CODE 1) | ||
|
||
add_library(${SHARED_LIB} SHARED $<TARGET_OBJECTS:${OBJECTS}>) | ||
set_target_properties(${SHARED_LIB} PROPERTIES OUTPUT_NAME ${PROJECT_NAME}) | ||
target_include_directories(${SHARED_LIB} PUBLIC ${INCLUDES}) | ||
|
||
add_library(${STATIC_LIB} STATIC $<TARGET_OBJECTS:${OBJECTS}>) | ||
target_include_directories(${STATIC_LIB} PUBLIC ${INCLUDES}) | ||
set_target_properties(${STATIC_LIB} PROPERTIES OUTPUT_NAME ${PROJECT_NAME}) |
Oops, something went wrong.