-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,279 changed files
with
593,344 additions
and
10 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,39 @@ | ||
# clang-format configuration | ||
|
||
# created by hailiang | ||
|
||
# Base | ||
BasedOnStyle: LLVM | ||
|
||
# Indent | ||
UseTab: Never | ||
TabWidth: 4 | ||
IndentWidth: 4 | ||
ColumnLimit: 120 | ||
AccessModifierOffset: -4 | ||
ObjCBlockIndentWidth: 4 | ||
IndentWrappedFunctionNames: true | ||
IndentCaseLabels: true | ||
|
||
# Line | ||
MaxEmptyLinesToKeep: 1 | ||
SpaceBeforeAssignmentOperators: true | ||
SpacesInContainerLiterals: true | ||
KeepEmptyLinesAtTheStartOfBlocks: true | ||
AllowShortFunctionsOnASingleLine: None | ||
AllowShortIfStatementsOnASingleLine: Never | ||
AllowAllParametersOfDeclarationOnNextLine: true | ||
BreakConstructorInitializersBeforeComma: true | ||
|
||
# Space | ||
PointerAlignment: Right | ||
SpacesInSquareBrackets: false | ||
SpacesInParentheses: false | ||
SpaceAfterCStyleCast: true | ||
|
||
# Alignment | ||
ObjCSpaceAfterProperty: true | ||
AlignTrailingComments: true | ||
AlignOperands: true | ||
AlignConsecutiveDeclarations: None | ||
AlignConsecutiveAssignments: Consecutive |
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,6 @@ | ||
bin/ | ||
lib/ | ||
build/ | ||
.vscode/ | ||
.idea/ | ||
output/ |
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,40 @@ | ||
cmake_minimum_required(VERSION 3.10) | ||
project(Wheel-INS) | ||
|
||
set(CMAKE_CXX_STANDARD 14) | ||
set(CMAKE_BUILD_TYPE RELEASE) | ||
|
||
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/bin) | ||
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib) | ||
|
||
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") | ||
add_definitions( -D_USE_MATH_DEFINES=True) | ||
add_compile_options("$<$<C_COMPILER_ID:MSVC>:/utf-8>") | ||
add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>") | ||
else() | ||
set(CMAKE_CXX_FLAGS "-Wno-unused-result") | ||
endif() | ||
|
||
file(GLOB_RECURSE SOURCE | ||
src/main.cpp | ||
src/fileio/fileloader.cpp | ||
src/fileio/filesaver.cpp | ||
src/wheel_ins/wheelins.cpp | ||
src/wheel_ins/insmech.cpp) | ||
|
||
include_directories(${PROJECT_SOURCE_DIR}/src) | ||
add_executable(${PROJECT_NAME} ${SOURCE}) | ||
|
||
# Eigen3 | ||
include_directories(ThirdParty/eigen-3.3.9) | ||
|
||
# yaml-cpp-0.7.0 | ||
add_subdirectory(ThirdParty/yaml-cpp-0.7.0) | ||
target_link_libraries(${PROJECT_NAME} yaml-cpp) | ||
|
||
|
||
set(ABSL_PROPAGATE_CXX_STD true) | ||
add_subdirectory(ThirdParty/abseil-cpp-20220623.1) | ||
target_link_libraries(${PROJECT_NAME} | ||
absl::strings | ||
absl::str_format) |
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,4 @@ | ||
--- | ||
Language: Cpp | ||
BasedOnStyle: Google | ||
... |
41 changes: 41 additions & 0 deletions
41
ThirdParty/abseil-cpp-20220623.1/.github/ISSUE_TEMPLATE/00-bug_report.md
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,41 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: '' | ||
labels: 'bug' | ||
assignees: '' | ||
--- | ||
|
||
**Describe the bug** | ||
|
||
Include a clear and concise description of what the problem is, including what | ||
you expected to happen, and what actually happened. | ||
|
||
**Steps to reproduce the bug** | ||
|
||
It's important that we are able to reproduce the problem that you are | ||
experiencing. Please provide all code and relevant steps to reproduce the | ||
problem, including your `BUILD`/`CMakeLists.txt` file and build commands. Links | ||
to a GitHub branch or [godbolt.org](https://godbolt.org/) that demonstrate the | ||
problem are also helpful. | ||
|
||
**What version of Abseil are you using?** | ||
|
||
**What operating system and version are you using** | ||
|
||
If you are using a Linux distribution please include the name and version of the | ||
distribution as well. | ||
|
||
**What compiler and version are you using?** | ||
|
||
Please include the output of `gcc -v` or `clang -v`, or the equivalent for your | ||
compiler. | ||
|
||
**What build system are you using?** | ||
|
||
Please include the output of `bazel --version` or `cmake --version`, or the | ||
equivalent for your build system. | ||
|
||
**Additional context** | ||
|
||
Add any other context about the problem here. |
7 changes: 7 additions & 0 deletions
7
ThirdParty/abseil-cpp-20220623.1/.github/ISSUE_TEMPLATE/90-question.md
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,7 @@ | ||
--- | ||
name: Question | ||
about: Have a question? Ask us anything! :-) | ||
title: '' | ||
labels: 'question' | ||
assignees: '' | ||
--- |
1 change: 1 addition & 0 deletions
1
ThirdParty/abseil-cpp-20220623.1/.github/ISSUE_TEMPLATE/config.yml
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 @@ | ||
blank_issues_enabled: true |
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,15 @@ | ||
# Ignore all bazel-* symlinks. | ||
/bazel-* | ||
# Ignore Bazel verbose explanations | ||
--verbose_explanations | ||
# Ignore CMake usual build directory | ||
build | ||
# Ignore Vim files | ||
*.swp | ||
# Ignore QtCreator Project file | ||
CMakeLists.txt.user | ||
# Ignore VS Code files | ||
.vscode/* | ||
# Ignore generated python artifacts | ||
*.pyc | ||
copts/__pycache__/ |
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,22 @@ | ||
Please submit a new Abseil Issue using the template below: | ||
|
||
## [Short title of proposed API change(s)] | ||
|
||
-------------------------------------------------------------------------------- | ||
-------------------------------------------------------------------------------- | ||
|
||
## Background | ||
|
||
[Provide the background information that is required in order to evaluate the | ||
proposed API changes. No controversial claims should be made here. If there are | ||
design constraints that need to be considered, they should be presented here | ||
**along with justification for those constraints**. Linking to other docs is | ||
good, but please keep the **pertinent information as self contained** as | ||
possible in this section.] | ||
|
||
## Proposed API Change (s) | ||
|
||
[Please clearly describe the API change(s) being proposed. If multiple changes, | ||
please keep them clearly distinguished. When possible, **use example code | ||
snippets to illustrate before-after API usages**. List pros-n-cons. Highlight | ||
the main questions that you want to be answered. Given the Abseil project compatibility requirements, describe why the API change is safe.] |
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,6 @@ | ||
# This is the list of Abseil authors for copyright purposes. | ||
# | ||
# This does not necessarily list everyone who has contributed code, since in | ||
# some cases, their employer may be the copyright holder. To see the full list | ||
# of contributors, see the revision history in source control. | ||
Google Inc. |
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,25 @@ | ||
# | ||
# Copyright 2020 The Abseil Authors. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
package(default_visibility = ["//visibility:public"]) | ||
|
||
licenses(["notice"]) # Apache 2.0 | ||
|
||
# Expose license for external usage through bazel. | ||
exports_files([ | ||
"AUTHORS", | ||
"LICENSE", | ||
]) |
Oops, something went wrong.