mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
SCRIPT fixup project rename
This commit is contained in:
committed by
Peter Johnson
parent
a5492d30da
commit
10b4a0c971
@@ -6,12 +6,12 @@ apriltag/bin
|
|||||||
cameraserver/bin
|
cameraserver/bin
|
||||||
cameraserver/multiCameraServer/bin
|
cameraserver/multiCameraServer/bin
|
||||||
cscore/bin
|
cscore/bin
|
||||||
fieldImages/bin
|
fields/bin
|
||||||
hal/bin
|
hal/bin
|
||||||
developerRobot/bin
|
developerRobot/bin
|
||||||
ntcore/bin
|
ntcore/bin
|
||||||
romiVendordep/bin
|
romiVendordep/bin
|
||||||
wpilibNewCommands/bin
|
commandsv2/bin
|
||||||
wpilibj/bin
|
wpilibj/bin
|
||||||
wpimath/bin
|
wpimath/bin
|
||||||
wpinet/bin
|
wpinet/bin
|
||||||
|
|||||||
2
.github/CODEOWNERS
vendored
2
.github/CODEOWNERS
vendored
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
/simulation/ @wpilibsuite/simulation
|
/simulation/ @wpilibsuite/simulation
|
||||||
|
|
||||||
/wpilibNewCommands/ @wpilibsuite/commandbased
|
/commandsv2/ @wpilibsuite/commandbased
|
||||||
|
|
||||||
/wpilibcExamples/ @wpilibsuite/wpilib @wpilibsuite/documentation
|
/wpilibcExamples/ @wpilibsuite/wpilib @wpilibsuite/documentation
|
||||||
|
|
||||||
|
|||||||
2
.github/actions/pregen/action.yml
vendored
2
.github/actions/pregen/action.yml
vendored
@@ -33,7 +33,7 @@ runs:
|
|||||||
run: |
|
run: |
|
||||||
./wpilibc/generate_hids.py
|
./wpilibc/generate_hids.py
|
||||||
./wpilibj/generate_hids.py
|
./wpilibj/generate_hids.py
|
||||||
./wpilibNewCommands/generate_hids.py
|
./commandsv2/generate_hids.py
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Regenerate PWM motor controllers
|
- name: Regenerate PWM motor controllers
|
||||||
|
|||||||
2
.github/labeler.yml
vendored
2
.github/labeler.yml
vendored
@@ -5,7 +5,7 @@
|
|||||||
- any-glob-to-any-file: apriltag/**
|
- any-glob-to-any-file: apriltag/**
|
||||||
'component: command-based':
|
'component: command-based':
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: wpilibNewCommands/**
|
- any-glob-to-any-file: commandsv2/**
|
||||||
'component: cscore':
|
'component: cscore':
|
||||||
- changed-files:
|
- changed-files:
|
||||||
- any-glob-to-any-file: cscore/**
|
- any-glob-to-any-file: cscore/**
|
||||||
|
|||||||
2
.github/workflows/command-robotpy-pr.yml
vendored
2
.github/workflows/command-robotpy-pr.yml
vendored
@@ -5,7 +5,7 @@ on:
|
|||||||
types:
|
types:
|
||||||
- opened
|
- opened
|
||||||
paths:
|
paths:
|
||||||
- 'wpilibNewCommands/src/**/*.java'
|
- 'commandsv2/src/**/*.java'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
comment:
|
comment:
|
||||||
|
|||||||
2
.github/workflows/sanitizers.yml
vendored
2
.github/workflows/sanitizers.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: tsan
|
- name: tsan
|
||||||
cmake-flags: "-DCMAKE_BUILD_TYPE=Tsan"
|
cmake-flags: "-DCMAKE_BUILD_TYPE=Tsan"
|
||||||
ctest-env: "TSAN_OPTIONS=second_deadlock_stack=1"
|
ctest-env: "TSAN_OPTIONS=second_deadlock_stack=1"
|
||||||
ctest-flags: "-E 'cscore|cameraserver|wpilibc|wpilibNewCommands'"
|
ctest-flags: "-E 'cscore|cameraserver|wpilibc|commandsv2'"
|
||||||
- name: ubsan
|
- name: ubsan
|
||||||
cmake-flags: "-DCMAKE_BUILD_TYPE=Ubsan"
|
cmake-flags: "-DCMAKE_BUILD_TYPE=Ubsan"
|
||||||
ctest-env: ""
|
ctest-env: ""
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ modifiableFileExclude {
|
|||||||
generatedFileExclude {
|
generatedFileExclude {
|
||||||
FRCNetComm\.java$
|
FRCNetComm\.java$
|
||||||
simulation/gz_msgs/src/include/simulation/gz_msgs/msgs\.h$
|
simulation/gz_msgs/src/include/simulation/gz_msgs/msgs\.h$
|
||||||
fieldImages/src/main/native/resources/
|
fields/src/main/native/resources/
|
||||||
apriltag/src/test/resources/
|
apriltag/src/test/resources/
|
||||||
wpilibc/src/generated/
|
wpilibc/src/generated/
|
||||||
|
|
||||||
|
|||||||
10
BUILD.bazel
10
BUILD.bazel
@@ -50,7 +50,7 @@ write_source_files(
|
|||||||
"//wpilibcExamples:write_example_project_list",
|
"//wpilibcExamples:write_example_project_list",
|
||||||
"//wpilibj:write_wpilibj",
|
"//wpilibj:write_wpilibj",
|
||||||
"//wpilibjExamples:write_example_project_list",
|
"//wpilibjExamples:write_example_project_list",
|
||||||
"//wpilibNewCommands:write_wpilib_new_commands",
|
"//commandsv2:write_wpilib_new_commands",
|
||||||
"//commandsv3:write_commandsv3",
|
"//commandsv3:write_commandsv3",
|
||||||
"//wpimath:write_wpimath",
|
"//wpimath:write_wpimath",
|
||||||
"//wpiunits:write_wpiunits",
|
"//wpiunits:write_wpiunits",
|
||||||
@@ -74,8 +74,8 @@ publish_all(
|
|||||||
"//docs:wpilibj_publish.publish",
|
"//docs:wpilibj_publish.publish",
|
||||||
"//epilogue-processor:processor-java_publish.publish",
|
"//epilogue-processor:processor-java_publish.publish",
|
||||||
"//epilogue-runtime:epilogue-java_publish.publish",
|
"//epilogue-runtime:epilogue-java_publish.publish",
|
||||||
"//fieldImages:fieldImages-cpp_publish.publish",
|
"//fields:fields-cpp_publish.publish",
|
||||||
"//fieldImages:fieldImages-java_publish.publish",
|
"//fields:fields-java_publish.publish",
|
||||||
"//glass:glass-cpp_publish.publish",
|
"//glass:glass-cpp_publish.publish",
|
||||||
"//glass:glassapp_publish.publish",
|
"//glass:glassapp_publish.publish",
|
||||||
"//glass:glassnt-cpp_publish.publish",
|
"//glass:glassnt-cpp_publish.publish",
|
||||||
@@ -99,8 +99,8 @@ publish_all(
|
|||||||
"//thirdparty/imgui_suite:imguiSuite-cpp_publish.publish",
|
"//thirdparty/imgui_suite:imguiSuite-cpp_publish.publish",
|
||||||
"//wpical:wpical_publish.publish",
|
"//wpical:wpical_publish.publish",
|
||||||
"//wpigui:wpigui-cpp_publish.publish",
|
"//wpigui:wpigui-cpp_publish.publish",
|
||||||
"//wpilibNewCommands:wpilibNewCommands-cpp_publish.publish",
|
"//commandsv2:commandsv2-cpp_publish.publish",
|
||||||
"//wpilibNewCommands:wpilibNewCommands-java_publish.publish",
|
"//commandsv2:commandsv2-java_publish.publish",
|
||||||
"//commandsv3:commandsv3-java_publish.publish",
|
"//commandsv3:commandsv3-java_publish.publish",
|
||||||
"//wpilibc:wpilibc-cpp_publish.publish",
|
"//wpilibc:wpilibc-cpp_publish.publish",
|
||||||
"//wpilibcExamples:commands_publish.publish",
|
"//wpilibcExamples:commands_publish.publish",
|
||||||
|
|||||||
@@ -317,7 +317,7 @@ if(WITH_WPIUNITS AND NOT WITH_WPIMATH)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WITH_GUI)
|
if(WITH_GUI)
|
||||||
add_subdirectory(fieldImages)
|
add_subdirectory(fields)
|
||||||
add_subdirectory(thirdparty/imgui_suite)
|
add_subdirectory(thirdparty/imgui_suite)
|
||||||
add_subdirectory(wpigui)
|
add_subdirectory(wpigui)
|
||||||
add_subdirectory(glass)
|
add_subdirectory(glass)
|
||||||
@@ -349,12 +349,12 @@ if(WITH_WPILIB)
|
|||||||
set(COMMANDSV3_DEP_REPLACE "find_dependency(commandsv3)")
|
set(COMMANDSV3_DEP_REPLACE "find_dependency(commandsv3)")
|
||||||
set(WPILIBC_DEP_REPLACE "find_dependency(wpilibc)")
|
set(WPILIBC_DEP_REPLACE "find_dependency(wpilibc)")
|
||||||
set(WPILIBJ_DEP_REPLACE "find_dependency(wpilibj)")
|
set(WPILIBJ_DEP_REPLACE "find_dependency(wpilibj)")
|
||||||
set(WPILIBNEWCOMMANDS_DEP_REPLACE "find_dependency(wpilibNewCommands)")
|
set(WPILIBNEWCOMMANDS_DEP_REPLACE "find_dependency(commandsv2)")
|
||||||
add_subdirectory(apriltag)
|
add_subdirectory(apriltag)
|
||||||
add_subdirectory(wpilibj)
|
add_subdirectory(wpilibj)
|
||||||
add_subdirectory(wpilibc)
|
add_subdirectory(wpilibc)
|
||||||
add_subdirectory(commandsv3) # must be after wpilibj
|
add_subdirectory(commandsv3) # must be after wpilibj
|
||||||
add_subdirectory(wpilibNewCommands)
|
add_subdirectory(commandsv2)
|
||||||
add_subdirectory(romiVendordep)
|
add_subdirectory(romiVendordep)
|
||||||
add_subdirectory(xrpVendordep)
|
add_subdirectory(xrpVendordep)
|
||||||
if(WITH_EXAMPLES)
|
if(WITH_EXAMPLES)
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ All artifacts are based at `edu.wpi.first.artifactname` in the repository.
|
|||||||
* wpinet
|
* wpinet
|
||||||
* wpiutil
|
* wpiutil
|
||||||
|
|
||||||
* wpilibNewCommands
|
* commandsv2
|
||||||
* wpilibc
|
* wpilibc
|
||||||
* hal
|
* hal
|
||||||
* cameraserver
|
* cameraserver
|
||||||
|
|||||||
@@ -7,14 +7,14 @@ WPILib is normally built with Gradle, however for some systems, such as Linux ba
|
|||||||
* cameraserver
|
* cameraserver
|
||||||
* commandsv3
|
* commandsv3
|
||||||
* cscore
|
* cscore
|
||||||
* fieldImages
|
* fields
|
||||||
* hal (simulation HAL only)
|
* hal (simulation HAL only)
|
||||||
* ntcore
|
* ntcore
|
||||||
* romiVendordep
|
* romiVendordep
|
||||||
* simulation extensions
|
* simulation extensions
|
||||||
* wpigui
|
* wpigui
|
||||||
* wpilib (wpilibc, wpilibj, and myRobot)
|
* wpilib (wpilibc, wpilibj, and myRobot)
|
||||||
* wpilibNewCommands
|
* commandsv2
|
||||||
* wpimath
|
* wpimath
|
||||||
* wpinet
|
* wpinet
|
||||||
* wpiunits
|
* wpiunits
|
||||||
@@ -162,7 +162,7 @@ file(GLOB_RECURSE JAVA_SOURCES *.java)
|
|||||||
# If you want Gradle compatibility or you are using one of the templates/examples, comment out the above line and uncomment this line instead:
|
# If you want Gradle compatibility or you are using one of the templates/examples, comment out the above line and uncomment this line instead:
|
||||||
# file(GLOB_RECURSE JAVA_SOURCES src/main/java/*.java)
|
# file(GLOB_RECURSE JAVA_SOURCES src/main/java/*.java)
|
||||||
add_jar(robot ${JAVA_SOURCES}
|
add_jar(robot ${JAVA_SOURCES}
|
||||||
INCLUDE_JARS apriltag_jar cscore_jar hal_jar ntcore_jar wpilibNewCommands_jar wpimath_jar wpinet_jar wpiutil_jar wpiunits_jar wpilibj_jar ${opencvJar})
|
INCLUDE_JARS apriltag_jar cscore_jar hal_jar ntcore_jar commandsv2_jar wpimath_jar wpinet_jar wpiutil_jar wpiunits_jar wpilibj_jar ${opencvJar})
|
||||||
export_jars(TARGETS robot FILE robot.jar)
|
export_jars(TARGETS robot FILE robot.jar)
|
||||||
```
|
```
|
||||||
This includes all the built JARs except for the vendordeps. If you are not using a JAR/library, you may remove it.
|
This includes all the built JARs except for the vendordeps. If you are not using a JAR/library, you may remove it.
|
||||||
@@ -176,7 +176,7 @@ After that, run `cmake --build .` to create your JAR file. To execute the JAR fi
|
|||||||
|
|
||||||
## Using vendordeps
|
## Using vendordeps
|
||||||
|
|
||||||
Vendordeps are not included as part of the `wpilib` CMake package. However, if you want to use a vendordep, you need to use `find_package(VENDORDEP)`, where `VENDORDEP` is the name of the vendordep (case-sensitive), like `xrpVendordep` or `romiVendordep`. Note that wpilibNewCommands, while a vendordep in normal robot projects, is not built as a vendordep in CMake, and is instead included as part of the `wpilib` CMake package. After you used `find_package`, you can reference the vendordep library like normal, either by using `target_link_libraries` for C++ or `add_jar` for Java.
|
Vendordeps are not included as part of the `wpilib` CMake package. However, if you want to use a vendordep, you need to use `find_package(VENDORDEP)`, where `VENDORDEP` is the name of the vendordep (case-sensitive), like `xrpVendordep` or `romiVendordep`. Note that commandsv2, while a vendordep in normal robot projects, is not built as a vendordep in CMake, and is instead included as part of the `wpilib` CMake package. After you used `find_package`, you can reference the vendordep library like normal, either by using `target_link_libraries` for C++ or `add_jar` for Java.
|
||||||
|
|
||||||
## Troubleshooting
|
## Troubleshooting
|
||||||
Below are some common issues that are run into when building.
|
Below are some common issues that are run into when building.
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ If opening from a fresh clone, generated java dependencies will not exist. Most
|
|||||||
- `cscore`
|
- `cscore`
|
||||||
- `hal`
|
- `hal`
|
||||||
- `ntcore`
|
- `ntcore`
|
||||||
- `wpilibNewCommands`
|
- `commandsv2`
|
||||||
- `wpimath`
|
- `wpimath`
|
||||||
- `wpinet`
|
- `wpinet`
|
||||||
- `wpiunits`
|
- `wpiunits`
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ target_link_libraries(
|
|||||||
PUBLIC
|
PUBLIC
|
||||||
$<TARGET_NAME_IF_EXISTS:apriltag>
|
$<TARGET_NAME_IF_EXISTS:apriltag>
|
||||||
$<TARGET_NAME_IF_EXISTS:wpilibc>
|
$<TARGET_NAME_IF_EXISTS:wpilibc>
|
||||||
$<TARGET_NAME_IF_EXISTS:wpilibNewCommands>
|
$<TARGET_NAME_IF_EXISTS:commandsv2>
|
||||||
$<TARGET_NAME_IF_EXISTS:wpimath>
|
$<TARGET_NAME_IF_EXISTS:wpimath>
|
||||||
$<TARGET_NAME_IF_EXISTS:wpiutil>
|
$<TARGET_NAME_IF_EXISTS:wpiutil>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ dependencies {
|
|||||||
implementation project(':hal')
|
implementation project(':hal')
|
||||||
implementation project(':ntcore')
|
implementation project(':ntcore')
|
||||||
implementation project(':wpilibj')
|
implementation project(':wpilibj')
|
||||||
implementation project(':wpilibNewCommands')
|
implementation project(':commandsv2')
|
||||||
implementation project(':wpimath')
|
implementation project(':wpimath')
|
||||||
implementation project(':wpinet')
|
implementation project(':wpinet')
|
||||||
implementation project(':wpiunits')
|
implementation project(':wpiunits')
|
||||||
@@ -221,7 +221,7 @@ model {
|
|||||||
project(':ntcore').addNtcoreDependency(binary, 'shared')
|
project(':ntcore').addNtcoreDependency(binary, 'shared')
|
||||||
project(':ntcore').addNtcoreJniDependency(binary)
|
project(':ntcore').addNtcoreJniDependency(binary)
|
||||||
lib project: ':wpilibc', library: 'wpilibc', linkage: 'shared'
|
lib project: ':wpilibc', library: 'wpilibc', linkage: 'shared'
|
||||||
lib project: ':wpilibNewCommands', library: 'wpilibNewCommands', linkage: 'shared'
|
lib project: ':commandsv2', library: 'commandsv2', linkage: 'shared'
|
||||||
lib project: ':wpimath', library: 'wpimath', linkage: 'shared'
|
lib project: ':wpimath', library: 'wpimath', linkage: 'shared'
|
||||||
lib project: ':wpimath', library: 'wpimathJNIShared', linkage: 'shared'
|
lib project: ':wpimath', library: 'wpimathJNIShared', linkage: 'shared'
|
||||||
lib project: ':wpinet', library: 'wpinet', linkage: 'shared'
|
lib project: ':wpinet', library: 'wpinet', linkage: 'shared'
|
||||||
@@ -276,7 +276,7 @@ model {
|
|||||||
project(':hal').addHalDependency(binary, 'static')
|
project(':hal').addHalDependency(binary, 'static')
|
||||||
project(':ntcore').addNtcoreDependency(binary, 'static')
|
project(':ntcore').addNtcoreDependency(binary, 'static')
|
||||||
lib project: ':wpilibc', library: 'wpilibc', linkage: 'static'
|
lib project: ':wpilibc', library: 'wpilibc', linkage: 'static'
|
||||||
lib project: ':wpilibNewCommands', library: 'wpilibNewCommands', linkage: 'static'
|
lib project: ':commandsv2', library: 'commandsv2', linkage: 'static'
|
||||||
lib project: ':wpimath', library: 'wpimath', linkage: 'static'
|
lib project: ':wpimath', library: 'wpimath', linkage: 'static'
|
||||||
lib project: ':wpinet', library: 'wpinet', linkage: 'static'
|
lib project: ':wpinet', library: 'wpinet', linkage: 'static'
|
||||||
lib project: ':wpiutil', library: 'wpiutil', linkage: 'static'
|
lib project: ':wpiutil', library: 'wpiutil', linkage: 'static'
|
||||||
|
|||||||
@@ -3,12 +3,12 @@ macro(add_doxygen_docs)
|
|||||||
apriltag
|
apriltag
|
||||||
cameraserver
|
cameraserver
|
||||||
cscore
|
cscore
|
||||||
fieldImages
|
fields
|
||||||
hal
|
hal
|
||||||
ntcore
|
ntcore
|
||||||
romiVendordep
|
romiVendordep
|
||||||
wpilibc
|
wpilibc
|
||||||
wpilibNewCommands
|
commandsv2
|
||||||
wpimath
|
wpimath
|
||||||
wpinet
|
wpinet
|
||||||
wpiutil
|
wpiutil
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ repoRootNameOverride {
|
|||||||
}
|
}
|
||||||
|
|
||||||
generatedFileExclude {
|
generatedFileExclude {
|
||||||
wpilibNewCommands/src/generated/
|
commandsv2/src/generated/
|
||||||
}
|
}
|
||||||
|
|
||||||
includeOtherLibs {
|
includeOtherLibs {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ load("@rules_python//python:defs.bzl", "py_binary")
|
|||||||
load("//shared/bazel/rules:cc_rules.bzl", "third_party_cc_lib_helper", "wpilib_cc_library", "wpilib_cc_shared_library", "wpilib_cc_static_library")
|
load("//shared/bazel/rules:cc_rules.bzl", "third_party_cc_lib_helper", "wpilib_cc_library", "wpilib_cc_shared_library", "wpilib_cc_static_library")
|
||||||
load("//shared/bazel/rules:java_rules.bzl", "wpilib_java_junit5_test", "wpilib_java_library")
|
load("//shared/bazel/rules:java_rules.bzl", "wpilib_java_junit5_test", "wpilib_java_library")
|
||||||
load("//shared/bazel/rules:packaging.bzl", "package_minimal_cc_project")
|
load("//shared/bazel/rules:packaging.bzl", "package_minimal_cc_project")
|
||||||
load("//wpilibNewCommands:generate.bzl", "generate_wpilib_new_commands")
|
load("//commandsv2:generate.bzl", "generate_wpilib_new_commands")
|
||||||
|
|
||||||
filegroup(
|
filegroup(
|
||||||
name = "doxygen-files",
|
name = "doxygen-files",
|
||||||
@@ -60,7 +60,7 @@ filegroup(
|
|||||||
)
|
)
|
||||||
|
|
||||||
wpilib_cc_library(
|
wpilib_cc_library(
|
||||||
name = "wpilibNewCommands",
|
name = "commandsv2",
|
||||||
srcs = glob(["src/main/native/cpp/**"]),
|
srcs = glob(["src/main/native/cpp/**"]),
|
||||||
hdrs = glob(["src/main/native/include/**"]),
|
hdrs = glob(["src/main/native/include/**"]),
|
||||||
includes = ["src/main/native/include"],
|
includes = ["src/main/native/include"],
|
||||||
@@ -77,7 +77,7 @@ wpilib_cc_library(
|
|||||||
)
|
)
|
||||||
|
|
||||||
wpilib_cc_shared_library(
|
wpilib_cc_shared_library(
|
||||||
name = "shared/wpilibNewCommands",
|
name = "shared/commandsv2",
|
||||||
dynamic_deps = [
|
dynamic_deps = [
|
||||||
"//hal:shared/wpiHal",
|
"//hal:shared/wpiHal",
|
||||||
"//ntcore:shared/ntcore",
|
"//ntcore:shared/ntcore",
|
||||||
@@ -87,26 +87,26 @@ wpilib_cc_shared_library(
|
|||||||
"//wpiutil:shared/wpiutil",
|
"//wpiutil:shared/wpiutil",
|
||||||
],
|
],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [":wpilibNewCommands"],
|
deps = [":commandsv2"],
|
||||||
)
|
)
|
||||||
|
|
||||||
wpilib_cc_static_library(
|
wpilib_cc_static_library(
|
||||||
name = "static/wpilibNewCommands",
|
name = "static/commandsv2",
|
||||||
static_deps = [
|
static_deps = [
|
||||||
"//ntcore:static/ntcore",
|
"//ntcore:static/ntcore",
|
||||||
"//wpilibc:static/wpilibc",
|
"//wpilibc:static/wpilibc",
|
||||||
"//wpinet:static/wpinet",
|
"//wpinet:static/wpinet",
|
||||||
],
|
],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [":wpilibNewCommands"],
|
deps = [":commandsv2"],
|
||||||
)
|
)
|
||||||
|
|
||||||
wpilib_java_library(
|
wpilib_java_library(
|
||||||
name = "wpilibNewCommands-java",
|
name = "commandsv2-java",
|
||||||
srcs = glob(["src/main/java/**/*.java"]) + [":generated_java"],
|
srcs = glob(["src/main/java/**/*.java"]) + [":generated_java"],
|
||||||
exported_plugins = ["//javacPlugin:plugin"],
|
exported_plugins = ["//javacPlugin:plugin"],
|
||||||
maven_artifact_name = "wpilibNewCommands-java",
|
maven_artifact_name = "commandsv2-java",
|
||||||
maven_group_id = "edu.wpi.first.wpilibNewCommands",
|
maven_group_id = "edu.wpi.first.commandsv2",
|
||||||
plugins = ["//javacPlugin:plugin"],
|
plugins = ["//javacPlugin:plugin"],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
@@ -123,7 +123,7 @@ wpilib_java_library(
|
|||||||
)
|
)
|
||||||
|
|
||||||
cc_test(
|
cc_test(
|
||||||
name = "wpilibNewCommands-cpp-test",
|
name = "commandsv2-cpp-test",
|
||||||
size = "small",
|
size = "small",
|
||||||
srcs = glob([
|
srcs = glob([
|
||||||
"src/test/native/**/*.cpp",
|
"src/test/native/**/*.cpp",
|
||||||
@@ -134,18 +134,18 @@ cc_test(
|
|||||||
"no-ubsan",
|
"no-ubsan",
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":wpilibNewCommands",
|
":commandsv2",
|
||||||
"//thirdparty/googletest",
|
"//thirdparty/googletest",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
wpilib_java_junit5_test(
|
wpilib_java_junit5_test(
|
||||||
name = "wpilibNewCommands-java-test",
|
name = "commandsv2-java-test",
|
||||||
srcs = glob(["**/*.java"]),
|
srcs = glob(["**/*.java"]),
|
||||||
resource_strip_prefix = "wpilibNewCommands/src/test/resources",
|
resource_strip_prefix = "commandsv2/src/test/resources",
|
||||||
resources = glob(["src/test/resources/**"]),
|
resources = glob(["src/test/resources/**"]),
|
||||||
deps = [
|
deps = [
|
||||||
":wpilibNewCommands-java",
|
":commandsv2-java",
|
||||||
"//hal:hal-java",
|
"//hal:hal-java",
|
||||||
"//ntcore:ntcore-java",
|
"//ntcore:ntcore-java",
|
||||||
"//wpiannotations",
|
"//wpiannotations",
|
||||||
@@ -169,7 +169,7 @@ java_binary(
|
|||||||
srcs = ["src/dev/java/edu/wpi/first/wpilibj2/commands/DevMain.java"],
|
srcs = ["src/dev/java/edu/wpi/first/wpilibj2/commands/DevMain.java"],
|
||||||
main_class = "edu.wpi.first.wpilibj2.commands.DevMain",
|
main_class = "edu.wpi.first.wpilibj2.commands.DevMain",
|
||||||
deps = [
|
deps = [
|
||||||
":wpilibNewCommands-java",
|
":commandsv2-java",
|
||||||
"//hal:hal-java",
|
"//hal:hal-java",
|
||||||
"//ntcore:ntcore-java",
|
"//ntcore:ntcore-java",
|
||||||
"//wpiannotations",
|
"//wpiannotations",
|
||||||
@@ -179,7 +179,7 @@ java_binary(
|
|||||||
)
|
)
|
||||||
|
|
||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "wpilibNewCommands",
|
name = "commandsv2",
|
||||||
maven_artifact_name = "wpilibNewCommands-cpp",
|
maven_artifact_name = "commandsv2-cpp",
|
||||||
maven_group_id = "edu.wpi.first.wpilibNewCommands",
|
maven_group_id = "edu.wpi.first.commandsv2",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
project(wpilibNewCommands)
|
project(commandsv2)
|
||||||
|
|
||||||
include(SubDirList)
|
include(SubDirList)
|
||||||
include(CompileWarnings)
|
include(CompileWarnings)
|
||||||
@@ -10,7 +10,7 @@ if(WITH_JAVA)
|
|||||||
file(GLOB_RECURSE JAVA_SOURCES src/main/java/*.java src/generated/main/java/*.java)
|
file(GLOB_RECURSE JAVA_SOURCES src/main/java/*.java src/generated/main/java/*.java)
|
||||||
file(GLOB JACKSON_JARS "${WPILIB_BINARY_DIR}/wpiutil/thirdparty/jackson/*.jar")
|
file(GLOB JACKSON_JARS "${WPILIB_BINARY_DIR}/wpiutil/thirdparty/jackson/*.jar")
|
||||||
add_jar(
|
add_jar(
|
||||||
wpilibNewCommands_jar
|
commandsv2_jar
|
||||||
${JAVA_SOURCES}
|
${JAVA_SOURCES}
|
||||||
INCLUDE_JARS
|
INCLUDE_JARS
|
||||||
hal_jar
|
hal_jar
|
||||||
@@ -24,16 +24,16 @@ if(WITH_JAVA)
|
|||||||
wpilibj_jar
|
wpilibj_jar
|
||||||
datalog_jar
|
datalog_jar
|
||||||
wpiannotations_jar
|
wpiannotations_jar
|
||||||
OUTPUT_NAME wpilibNewCommands
|
OUTPUT_NAME commandsv2
|
||||||
OUTPUT_DIR ${WPILIB_BINARY_DIR}/${java_lib_dest}
|
OUTPUT_DIR ${WPILIB_BINARY_DIR}/${java_lib_dest}
|
||||||
)
|
)
|
||||||
set_property(TARGET wpilibNewCommands_jar PROPERTY FOLDER "java")
|
set_property(TARGET commandsv2_jar PROPERTY FOLDER "java")
|
||||||
|
|
||||||
install_jar(wpilibNewCommands_jar DESTINATION ${java_lib_dest})
|
install_jar(commandsv2_jar DESTINATION ${java_lib_dest})
|
||||||
install_jar_exports(
|
install_jar_exports(
|
||||||
TARGETS wpilibNewCommands_jar
|
TARGETS commandsv2_jar
|
||||||
FILE wpilibNewCommands_jar.cmake
|
FILE commandsv2_jar.cmake
|
||||||
DESTINATION share/wpilibNewCommands
|
DESTINATION share/commandsv2
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -41,59 +41,59 @@ if(WITH_JAVA_SOURCE)
|
|||||||
include(UseJava)
|
include(UseJava)
|
||||||
include(CreateSourceJar)
|
include(CreateSourceJar)
|
||||||
add_source_jar(
|
add_source_jar(
|
||||||
wpilibNewCommands_src_jar
|
commandsv2_src_jar
|
||||||
BASE_DIRECTORIES
|
BASE_DIRECTORIES
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/main/java
|
${CMAKE_CURRENT_SOURCE_DIR}/src/main/java
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/src/generated/main/java
|
${CMAKE_CURRENT_SOURCE_DIR}/src/generated/main/java
|
||||||
OUTPUT_NAME wpilibNewCommands-sources
|
OUTPUT_NAME commandsv2-sources
|
||||||
OUTPUT_DIR ${WPILIB_BINARY_DIR}/${java_lib_dest}
|
OUTPUT_DIR ${WPILIB_BINARY_DIR}/${java_lib_dest}
|
||||||
)
|
)
|
||||||
set_property(TARGET wpilibNewCommands_src_jar PROPERTY FOLDER "java")
|
set_property(TARGET commandsv2_src_jar PROPERTY FOLDER "java")
|
||||||
|
|
||||||
install_jar(wpilibNewCommands_src_jar DESTINATION ${java_lib_dest})
|
install_jar(commandsv2_src_jar DESTINATION ${java_lib_dest})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
file(
|
file(
|
||||||
GLOB_RECURSE wpilibNewCommands_native_src
|
GLOB_RECURSE commandsv2_native_src
|
||||||
src/main/native/cpp/*.cpp
|
src/main/native/cpp/*.cpp
|
||||||
src/generated/main/native/cpp/*.cpp
|
src/generated/main/native/cpp/*.cpp
|
||||||
)
|
)
|
||||||
add_library(wpilibNewCommands ${wpilibNewCommands_native_src})
|
add_library(commandsv2 ${commandsv2_native_src})
|
||||||
set_target_properties(wpilibNewCommands PROPERTIES DEBUG_POSTFIX "d")
|
set_target_properties(commandsv2 PROPERTIES DEBUG_POSTFIX "d")
|
||||||
set_property(TARGET wpilibNewCommands PROPERTY FOLDER "libraries")
|
set_property(TARGET commandsv2 PROPERTY FOLDER "libraries")
|
||||||
|
|
||||||
target_compile_features(wpilibNewCommands PUBLIC cxx_std_20)
|
target_compile_features(commandsv2 PUBLIC cxx_std_20)
|
||||||
wpilib_target_warnings(wpilibNewCommands)
|
wpilib_target_warnings(commandsv2)
|
||||||
target_link_libraries(wpilibNewCommands wpilibc)
|
target_link_libraries(commandsv2 wpilibc)
|
||||||
|
|
||||||
target_include_directories(
|
target_include_directories(
|
||||||
wpilibNewCommands
|
commandsv2
|
||||||
PUBLIC
|
PUBLIC
|
||||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/main/native/include>
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/main/native/include>
|
||||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/generated/main/native/include>
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/generated/main/native/include>
|
||||||
$<INSTALL_INTERFACE:${include_dest}/wpilibNewCommands>
|
$<INSTALL_INTERFACE:${include_dest}/commandsv2>
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS wpilibNewCommands EXPORT wpilibnewcommands)
|
install(TARGETS commandsv2 EXPORT commandsv2)
|
||||||
export(TARGETS wpilibNewCommands FILE wpilibnewcommands.cmake NAMESPACE wpilibnewcommands::)
|
export(TARGETS commandsv2 FILE commandsv2.cmake NAMESPACE commandsv2::)
|
||||||
install(DIRECTORY src/main/native/include/ DESTINATION "${include_dest}/wpilibNewCommands")
|
install(DIRECTORY src/main/native/include/ DESTINATION "${include_dest}/commandsv2")
|
||||||
install(
|
install(
|
||||||
DIRECTORY src/generated/main/native/include/
|
DIRECTORY src/generated/main/native/include/
|
||||||
DESTINATION "${include_dest}/wpilibNewCommands"
|
DESTINATION "${include_dest}/commandsv2"
|
||||||
)
|
)
|
||||||
|
|
||||||
configure_file(
|
configure_file(
|
||||||
wpilibnewcommands-config.cmake.in
|
commandsv2-config.cmake.in
|
||||||
${WPILIB_BINARY_DIR}/wpilibnewcommands-config.cmake
|
${WPILIB_BINARY_DIR}/commandsv2-config.cmake
|
||||||
)
|
)
|
||||||
install(
|
install(
|
||||||
FILES ${WPILIB_BINARY_DIR}/wpilibnewcommands-config.cmake
|
FILES ${WPILIB_BINARY_DIR}/commandsv2-config.cmake
|
||||||
DESTINATION share/wpilibNewCommands
|
DESTINATION share/commandsv2
|
||||||
)
|
)
|
||||||
install(EXPORT wpilibnewcommands DESTINATION share/wpilibNewCommands)
|
install(EXPORT commandsv2 DESTINATION share/commandsv2)
|
||||||
|
|
||||||
if(WITH_TESTS)
|
if(WITH_TESTS)
|
||||||
wpilib_add_test(wpilibNewCommands src/test/native/cpp)
|
wpilib_add_test(commandsv2 src/test/native/cpp)
|
||||||
target_include_directories(wpilibNewCommands_test PRIVATE src/test/native/include)
|
target_include_directories(commandsv2_test PRIVATE src/test/native/include)
|
||||||
target_link_libraries(wpilibNewCommands_test wpilibNewCommands googletest)
|
target_link_libraries(commandsv2_test commandsv2 googletest)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -8,18 +8,18 @@
|
|||||||
"jsonUrl": "",
|
"jsonUrl": "",
|
||||||
"javaDependencies": [
|
"javaDependencies": [
|
||||||
{
|
{
|
||||||
"groupId": "edu.wpi.first.wpilibNewCommands",
|
"groupId": "edu.wpi.first.commandsv2",
|
||||||
"artifactId": "wpilibNewCommands-java",
|
"artifactId": "commandsv2-java",
|
||||||
"version": "wpilib"
|
"version": "wpilib"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"jniDependencies": [],
|
"jniDependencies": [],
|
||||||
"cppDependencies": [
|
"cppDependencies": [
|
||||||
{
|
{
|
||||||
"groupId": "edu.wpi.first.wpilibNewCommands",
|
"groupId": "edu.wpi.first.commandsv2",
|
||||||
"artifactId": "wpilibNewCommands-cpp",
|
"artifactId": "commandsv2-cpp",
|
||||||
"version": "wpilib",
|
"version": "wpilib",
|
||||||
"libName": "wpilibNewCommands",
|
"libName": "commandsv2",
|
||||||
"headerClassifier": "headers",
|
"headerClassifier": "headers",
|
||||||
"sourcesClassifier": "sources",
|
"sourcesClassifier": "sources",
|
||||||
"sharedLibrary": true,
|
"sharedLibrary": true,
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
ext {
|
ext {
|
||||||
nativeName = 'wpilibNewCommands'
|
nativeName = 'commandsv2'
|
||||||
devMain = 'edu.wpi.first.wpilibj2.commands.DevMain'
|
devMain = 'edu.wpi.first.wpilibj2.commands.DevMain'
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -31,7 +31,7 @@ dependencies {
|
|||||||
sourceSets.main.java.srcDir "${projectDir}/src/generated/main/java"
|
sourceSets.main.java.srcDir "${projectDir}/src/generated/main/java"
|
||||||
|
|
||||||
nativeUtils.exportsConfigs {
|
nativeUtils.exportsConfigs {
|
||||||
wpilibNewCommands {
|
commandsv2 {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
def __generate_wpilib_new_commands_impl(ctx):
|
def __generate_wpilib_new_commands_impl(ctx):
|
||||||
"""
|
"""
|
||||||
Custom rule used to create the wpilibNewCommands pre-generated files. See `./README-Bazel.md` for the reasoning.
|
Custom rule used to create the commandsv2 pre-generated files. See `./README-Bazel.md` for the reasoning.
|
||||||
"""
|
"""
|
||||||
output_dir = ctx.actions.declare_directory("_gendir")
|
output_dir = ctx.actions.declare_directory("_gendir")
|
||||||
|
|
||||||
args = ctx.actions.args()
|
args = ctx.actions.args()
|
||||||
args.add("--output_directory", output_dir.path)
|
args.add("--output_directory", output_dir.path)
|
||||||
args.add("--template_root", "wpilibNewCommands/src/generate")
|
args.add("--template_root", "commandsv2/src/generate")
|
||||||
|
|
||||||
ctx.actions.run(
|
ctx.actions.run(
|
||||||
inputs = ctx.attr._templates.files,
|
inputs = ctx.attr._templates.files,
|
||||||
@@ -21,10 +21,10 @@ generate_wpilib_new_commands = rule(
|
|||||||
implementation = __generate_wpilib_new_commands_impl,
|
implementation = __generate_wpilib_new_commands_impl,
|
||||||
attrs = {
|
attrs = {
|
||||||
"_templates": attr.label(
|
"_templates": attr.label(
|
||||||
default = Label("//wpilibNewCommands:templates"),
|
default = Label("//commandsv2:templates"),
|
||||||
),
|
),
|
||||||
"_tool": attr.label(
|
"_tool": attr.label(
|
||||||
default = Label("//wpilibNewCommands:generate_hids"),
|
default = Label("//commandsv2:generate_hids"),
|
||||||
cfg = "exec",
|
cfg = "exec",
|
||||||
executable = True,
|
executable = True,
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
{% macro capitalize_first(string) -%}
|
{% macro capitalize_first(string) -%}
|
||||||
{{ string[0]|capitalize + string[1:] }}
|
{{ string[0]|capitalize + string[1:] }}
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
{% macro capitalize_first(string) -%}
|
{% macro capitalize_first(string) -%}
|
||||||
{{ string[0]|capitalize + string[1:] }}
|
{{ string[0]|capitalize + string[1:] }}
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
{% macro capitalize_first(string) -%}
|
{% macro capitalize_first(string) -%}
|
||||||
{{ string[0]|capitalize + string[1:] }}
|
{{ string[0]|capitalize + string[1:] }}
|
||||||
{%- endmacro %}
|
{%- endmacro %}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
|
|
||||||
package edu.wpi.first.wpilibj2.command.button;
|
package edu.wpi.first.wpilibj2.command.button;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
|
|
||||||
package edu.wpi.first.wpilibj2.command.button;
|
package edu.wpi.first.wpilibj2.command.button;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
|
|
||||||
package edu.wpi.first.wpilibj2.command.button;
|
package edu.wpi.first.wpilibj2.command.button;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
|
|
||||||
package edu.wpi.first.wpilibj2.command.button;
|
package edu.wpi.first.wpilibj2.command.button;
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
|
|
||||||
#include "frc2/command/button/CommandPS4Controller.h"
|
#include "frc2/command/button/CommandPS4Controller.h"
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
|
|
||||||
#include "frc2/command/button/CommandPS5Controller.h"
|
#include "frc2/command/button/CommandPS5Controller.h"
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
|
|
||||||
#include "frc2/command/button/CommandStadiaController.h"
|
#include "frc2/command/button/CommandStadiaController.h"
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
|
|
||||||
#include "frc2/command/button/CommandXboxController.h"
|
#include "frc2/command/button/CommandXboxController.h"
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <frc/PS4Controller.h>
|
#include <frc/PS4Controller.h>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <frc/PS5Controller.h>
|
#include <frc/PS5Controller.h>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <frc/StadiaController.h>
|
#include <frc/StadiaController.h>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
// Open Source Software; you can modify and/or share it under the terms of
|
// Open Source Software; you can modify and/or share it under the terms of
|
||||||
// the WPILib BSD license file in the root directory of this project.
|
// the WPILib BSD license file in the root directory of this project.
|
||||||
|
|
||||||
// THIS FILE WAS AUTO-GENERATED BY ./wpilibNewCommands/generate_hids.py. DO NOT MODIFY
|
// THIS FILE WAS AUTO-GENERATED BY ./commandsv2/generate_hids.py. DO NOT MODIFY
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
#include <frc/XboxController.h>
|
#include <frc/XboxController.h>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ include(CMakeFindDependencyMacro)
|
|||||||
@WPIMATH_DEP_REPLACE@
|
@WPIMATH_DEP_REPLACE@
|
||||||
|
|
||||||
@FILENAME_DEP_REPLACE@
|
@FILENAME_DEP_REPLACE@
|
||||||
include(${SELF_DIR}/wpilibnewcommands.cmake)
|
include(${SELF_DIR}/commandsv2.cmake)
|
||||||
if(@WITH_JAVA@)
|
if(@WITH_JAVA@)
|
||||||
include(${SELF_DIR}/wpilibNewCommands_jar.cmake)
|
include(${SELF_DIR}/commandsv2_jar.cmake)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -5,4 +5,4 @@ include(CompileWarnings)
|
|||||||
file(GLOB developerRobotCpp_src src/main/native/cpp/*.cpp)
|
file(GLOB developerRobotCpp_src src/main/native/cpp/*.cpp)
|
||||||
|
|
||||||
add_executable(developerRobotCpp ${developerRobotCpp_src})
|
add_executable(developerRobotCpp ${developerRobotCpp_src})
|
||||||
target_link_libraries(developerRobotCpp wpilibc wpilibNewCommands apriltag)
|
target_link_libraries(developerRobotCpp wpilibc commandsv2 apriltag)
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ dependencies {
|
|||||||
implementation project(':ntcore')
|
implementation project(':ntcore')
|
||||||
implementation project(':cscore')
|
implementation project(':cscore')
|
||||||
implementation project(':cameraserver')
|
implementation project(':cameraserver')
|
||||||
implementation project(':wpilibNewCommands')
|
implementation project(':commandsv2')
|
||||||
implementation project(':apriltag')
|
implementation project(':apriltag')
|
||||||
implementation project(':wpiunits')
|
implementation project(':wpiunits')
|
||||||
implementation project(':epilogue-runtime')
|
implementation project(':epilogue-runtime')
|
||||||
@@ -198,7 +198,7 @@ model {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
lib project: ':apriltag', library: 'apriltag', linkage: 'shared'
|
lib project: ':apriltag', library: 'apriltag', linkage: 'shared'
|
||||||
lib project: ':wpilibNewCommands', library: 'wpilibNewCommands', linkage: 'shared'
|
lib project: ':commandsv2', library: 'commandsv2', linkage: 'shared'
|
||||||
lib project: ':wpilibc', library: 'wpilibc', linkage: 'shared'
|
lib project: ':wpilibc', library: 'wpilibc', linkage: 'shared'
|
||||||
lib project: ':wpimath', library: 'wpimath', linkage: 'shared'
|
lib project: ':wpimath', library: 'wpimath', linkage: 'shared'
|
||||||
lib project: ':cameraserver', library: 'cameraserver', linkage: 'shared'
|
lib project: ':cameraserver', library: 'cameraserver', linkage: 'shared'
|
||||||
@@ -243,7 +243,7 @@ model {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
lib project: ':apriltag', library: 'apriltag', linkage: 'static'
|
lib project: ':apriltag', library: 'apriltag', linkage: 'static'
|
||||||
lib project: ':wpilibNewCommands', library: 'wpilibNewCommands', linkage: 'static'
|
lib project: ':commandsv2', library: 'commandsv2', linkage: 'static'
|
||||||
lib project: ':wpilibc', library: 'wpilibc', linkage: 'static'
|
lib project: ':wpilibc', library: 'wpilibc', linkage: 'static'
|
||||||
lib project: ':wpimath', library: 'wpimath', linkage: 'static'
|
lib project: ':wpimath', library: 'wpimath', linkage: 'static'
|
||||||
lib project: ':cameraserver', library: 'cameraserver', linkage: 'static'
|
lib project: ':cameraserver', library: 'cameraserver', linkage: 'static'
|
||||||
|
|||||||
@@ -12,8 +12,8 @@ paths = [
|
|||||||
"ntcore/src/main/native/include",
|
"ntcore/src/main/native/include",
|
||||||
"romiVendordep/src/generated/main/native/include",
|
"romiVendordep/src/generated/main/native/include",
|
||||||
"romiVendordep/src/main/native/include",
|
"romiVendordep/src/main/native/include",
|
||||||
"wpilibNewCommands/src/generated/main/native/include",
|
"commandsv2/src/generated/main/native/include",
|
||||||
"wpilibNewCommands/src/main/native/include",
|
"commandsv2/src/main/native/include",
|
||||||
"wpilibc/src/generated/main/native/include",
|
"wpilibc/src/generated/main/native/include",
|
||||||
"wpilibc/src/main/native/include",
|
"wpilibc/src/main/native/include",
|
||||||
"wpimath/src/main/native/include",
|
"wpimath/src/main/native/include",
|
||||||
@@ -64,7 +64,7 @@ doxygen(
|
|||||||
"//hal:doxygen-files",
|
"//hal:doxygen-files",
|
||||||
"//ntcore:doxygen-files",
|
"//ntcore:doxygen-files",
|
||||||
"//romiVendordep:doxygen-files",
|
"//romiVendordep:doxygen-files",
|
||||||
"//wpilibNewCommands:doxygen-files",
|
"//commandsv2:doxygen-files",
|
||||||
"//wpilibc:doxygen-files",
|
"//wpilibc:doxygen-files",
|
||||||
"//wpimath:doxygen-files",
|
"//wpimath:doxygen-files",
|
||||||
"//wpinet:doxygen-files",
|
"//wpinet:doxygen-files",
|
||||||
@@ -112,7 +112,7 @@ javadoc(
|
|||||||
"//hal:hal-java",
|
"//hal:hal-java",
|
||||||
"//ntcore:ntcore-java",
|
"//ntcore:ntcore-java",
|
||||||
"//romiVendordep:romiVendordep-java",
|
"//romiVendordep:romiVendordep-java",
|
||||||
"//wpilibNewCommands:wpilibNewCommands-java",
|
"//commandsv2:commandsv2-java",
|
||||||
"//wpilibj:wpilibj-java",
|
"//wpilibj:wpilibj-java",
|
||||||
"//wpimath:wpimath-java",
|
"//wpimath:wpimath-java",
|
||||||
"//wpinet:wpinet-java",
|
"//wpinet:wpinet-java",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ evaluationDependsOn(':epilogue-runtime')
|
|||||||
evaluationDependsOn(':hal')
|
evaluationDependsOn(':hal')
|
||||||
evaluationDependsOn(':ntcore')
|
evaluationDependsOn(':ntcore')
|
||||||
evaluationDependsOn(':wpiannotations')
|
evaluationDependsOn(':wpiannotations')
|
||||||
evaluationDependsOn(':wpilibNewCommands')
|
evaluationDependsOn(':commandsv2')
|
||||||
evaluationDependsOn(':wpilibc')
|
evaluationDependsOn(':wpilibc')
|
||||||
evaluationDependsOn(':wpilibj')
|
evaluationDependsOn(':wpilibj')
|
||||||
evaluationDependsOn(':wpimath')
|
evaluationDependsOn(':wpimath')
|
||||||
@@ -39,7 +39,7 @@ cppProjectZips.add(project(':cameraserver').cppHeadersZip)
|
|||||||
cppProjectZips.add(project(':cscore').cppHeadersZip)
|
cppProjectZips.add(project(':cscore').cppHeadersZip)
|
||||||
cppProjectZips.add(project(':hal').cppHeadersZip)
|
cppProjectZips.add(project(':hal').cppHeadersZip)
|
||||||
cppProjectZips.add(project(':ntcore').cppHeadersZip)
|
cppProjectZips.add(project(':ntcore').cppHeadersZip)
|
||||||
cppProjectZips.add(project(':wpilibNewCommands').cppHeadersZip)
|
cppProjectZips.add(project(':commandsv2').cppHeadersZip)
|
||||||
cppProjectZips.add(project(':wpilibc').cppHeadersZip)
|
cppProjectZips.add(project(':wpilibc').cppHeadersZip)
|
||||||
cppProjectZips.add(project(':wpimath').cppHeadersZip)
|
cppProjectZips.add(project(':wpimath').cppHeadersZip)
|
||||||
cppProjectZips.add(project(':wpinet').cppHeadersZip)
|
cppProjectZips.add(project(':wpinet').cppHeadersZip)
|
||||||
@@ -187,7 +187,7 @@ task generateJavaDocs(type: Javadoc) {
|
|||||||
source project(':hal').sourceSets.main.java
|
source project(':hal').sourceSets.main.java
|
||||||
source project(':ntcore').sourceSets.main.java
|
source project(':ntcore').sourceSets.main.java
|
||||||
source project(':wpiannotations').sourceSets.main.java
|
source project(':wpiannotations').sourceSets.main.java
|
||||||
source project(':wpilibNewCommands').sourceSets.main.java
|
source project(':commandsv2').sourceSets.main.java
|
||||||
source project(':wpilibj').sourceSets.main.java
|
source project(':wpilibj').sourceSets.main.java
|
||||||
source project(':wpimath').sourceSets.main.java
|
source project(':wpimath').sourceSets.main.java
|
||||||
source project(':wpinet').sourceSets.main.java
|
source project(':wpinet').sourceSets.main.java
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ wpilib_java_library(
|
|||||||
resources = glob(["src/main/resources/**"]),
|
resources = glob(["src/main/resources/**"]),
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
runtime_deps = [
|
runtime_deps = [
|
||||||
"//wpilibNewCommands:wpilibNewCommands-java",
|
"//commandsv2:commandsv2-java",
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
"//epilogue-runtime:epilogue-java",
|
"//epilogue-runtime:epilogue-java",
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ apply from: "${rootDir}/shared/java/javacommon.gradle"
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation(project(':epilogue-runtime'))
|
implementation(project(':epilogue-runtime'))
|
||||||
api project(':wpilibNewCommands')
|
api project(':commandsv2')
|
||||||
|
|
||||||
testImplementation 'com.google.testing.compile:compile-testing:+'
|
testImplementation 'com.google.testing.compile:compile-testing:+'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ generate_resources(
|
|||||||
)
|
)
|
||||||
|
|
||||||
wpilib_cc_library(
|
wpilib_cc_library(
|
||||||
name = "fieldImages",
|
name = "fields",
|
||||||
srcs = [":generate-resources"] + glob(["src/main/native/cpp/**"]),
|
srcs = [":generate-resources"] + glob(["src/main/native/cpp/**"]),
|
||||||
hdrs = glob(["src/main/native/include/**/*"]),
|
hdrs = glob(["src/main/native/include/**/*"]),
|
||||||
include_license_files = True,
|
include_license_files = True,
|
||||||
@@ -21,24 +21,24 @@ wpilib_cc_library(
|
|||||||
)
|
)
|
||||||
|
|
||||||
wpilib_cc_static_library(
|
wpilib_cc_static_library(
|
||||||
name = "static/fieldImages",
|
name = "static/fields",
|
||||||
static_lib_name = select({
|
static_lib_name = select({
|
||||||
"@platforms//os:windows": "static/fieldImages.lib",
|
"@platforms//os:windows": "static/fields.lib",
|
||||||
"//conditions:default": "static/libfieldImages.a",
|
"//conditions:default": "static/libfields.a",
|
||||||
}),
|
}),
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
":fieldImages",
|
":fields",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
wpilib_java_library(
|
wpilib_java_library(
|
||||||
name = "fieldImages-java",
|
name = "fields-java",
|
||||||
srcs = glob(["src/main/java/**/*.java"]),
|
srcs = glob(["src/main/java/**/*.java"]),
|
||||||
extra_source_pkgs = ["resources"],
|
extra_source_pkgs = ["resources"],
|
||||||
maven_artifact_name = "fieldImages-java",
|
maven_artifact_name = "fields-java",
|
||||||
maven_group_id = "edu.wpi.first.fieldImages",
|
maven_group_id = "edu.wpi.first.fields",
|
||||||
resource_strip_prefix = "fieldImages/src/main/native/resources",
|
resource_strip_prefix = "fields/src/main/native/resources",
|
||||||
resources = glob(["src/main/native/resources/**"]),
|
resources = glob(["src/main/native/resources/**"]),
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
@@ -54,15 +54,15 @@ pkg_files(
|
|||||||
)
|
)
|
||||||
|
|
||||||
wpilib_java_junit5_test(
|
wpilib_java_junit5_test(
|
||||||
name = "fieldImages-test",
|
name = "fields-test",
|
||||||
srcs = glob(["src/test/java/**/*.java"]),
|
srcs = glob(["src/test/java/**/*.java"]),
|
||||||
deps = [
|
deps = [
|
||||||
":fieldImages-java",
|
":fields-java",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
package_minimal_cc_project(
|
package_minimal_cc_project(
|
||||||
name = "fieldImages",
|
name = "fields",
|
||||||
maven_artifact_name = "fieldImages-cpp",
|
maven_artifact_name = "fields-cpp",
|
||||||
maven_group_id = "edu.wpi.first.fieldImages",
|
maven_group_id = "edu.wpi.first.fields",
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
project(fieldImages)
|
project(fields)
|
||||||
|
|
||||||
include(CompileWarnings)
|
include(CompileWarnings)
|
||||||
include(GenResources)
|
include(GenResources)
|
||||||
@@ -23,14 +23,14 @@ if(WITH_JAVA)
|
|||||||
NAMESPACE "edu/wpi/first/fields" ${JAVA_RESOURCES}
|
NAMESPACE "edu/wpi/first/fields" ${JAVA_RESOURCES}
|
||||||
INCLUDE_JARS ${JACKSON_JARS}
|
INCLUDE_JARS ${JACKSON_JARS}
|
||||||
OUTPUT_DIR ${WPILIB_BINARY_DIR}/${java_lib_dest}
|
OUTPUT_DIR ${WPILIB_BINARY_DIR}/${java_lib_dest}
|
||||||
OUTPUT_NAME fieldImages
|
OUTPUT_NAME fields
|
||||||
)
|
)
|
||||||
set_property(TARGET field_images_jar PROPERTY FOLDER "java")
|
set_property(TARGET field_images_jar PROPERTY FOLDER "java")
|
||||||
install_jar(field_images_jar DESTINATION ${java_lib_dest})
|
install_jar(field_images_jar DESTINATION ${java_lib_dest})
|
||||||
install_jar_exports(
|
install_jar_exports(
|
||||||
TARGETS field_images_jar
|
TARGETS field_images_jar
|
||||||
FILE fieldImages_jar.cmake
|
FILE fields_jar.cmake
|
||||||
DESTINATION share/fieldImages
|
DESTINATION share/fields
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -42,27 +42,27 @@ generate_resources(
|
|||||||
field_images_resources_src
|
field_images_resources_src
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library(fieldImages ${field_images_resources_src} src/main/native/cpp/fields.cpp)
|
add_library(fields ${field_images_resources_src} src/main/native/cpp/fields.cpp)
|
||||||
set_target_properties(fieldImages PROPERTIES DEBUG_POSTFIX "d")
|
set_target_properties(fields PROPERTIES DEBUG_POSTFIX "d")
|
||||||
|
|
||||||
set_property(TARGET fieldImages PROPERTY FOLDER "libraries")
|
set_property(TARGET fields PROPERTY FOLDER "libraries")
|
||||||
target_compile_features(fieldImages PUBLIC cxx_std_20)
|
target_compile_features(fields PUBLIC cxx_std_20)
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
target_compile_options(fieldImages PUBLIC /bigobj)
|
target_compile_options(fields PUBLIC /bigobj)
|
||||||
endif()
|
endif()
|
||||||
wpilib_target_warnings(fieldImages)
|
wpilib_target_warnings(fields)
|
||||||
|
|
||||||
install(DIRECTORY src/main/native/include/ DESTINATION "${include_dest}/fieldImages")
|
install(DIRECTORY src/main/native/include/ DESTINATION "${include_dest}/fields")
|
||||||
target_include_directories(
|
target_include_directories(
|
||||||
fieldImages
|
fields
|
||||||
PUBLIC
|
PUBLIC
|
||||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/main/native/include>
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src/main/native/include>
|
||||||
$<INSTALL_INTERFACE:${include_dest}/fieldImages>
|
$<INSTALL_INTERFACE:${include_dest}/fields>
|
||||||
)
|
)
|
||||||
|
|
||||||
install(TARGETS fieldImages EXPORT fieldimages)
|
install(TARGETS fields EXPORT fields)
|
||||||
export(TARGETS fieldImages FILE fieldimages.cmake NAMESPACE fieldimages::)
|
export(TARGETS fields FILE fields.cmake NAMESPACE fields::)
|
||||||
|
|
||||||
configure_file(fieldimages-config.cmake.in ${WPILIB_BINARY_DIR}/fieldimages-config.cmake)
|
configure_file(fields-config.cmake.in ${WPILIB_BINARY_DIR}/fields-config.cmake)
|
||||||
install(FILES ${WPILIB_BINARY_DIR}/fieldimages-config.cmake DESTINATION share/fieldImages)
|
install(FILES ${WPILIB_BINARY_DIR}/fields-config.cmake DESTINATION share/fields)
|
||||||
install(EXPORT fieldimages DESTINATION share/fieldImages)
|
install(EXPORT fields DESTINATION share/fields)
|
||||||
|
|||||||
@@ -20,10 +20,10 @@ dependencies {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
nativeName = 'fieldImages'
|
nativeName = 'fields'
|
||||||
baseId = nativeName
|
baseId = nativeName
|
||||||
groupId = 'edu.wpi.first.fieldImages'
|
groupId = 'edu.wpi.first.fields'
|
||||||
devMain = "edu.wpi.first.fieldImages.DevMain"
|
devMain = "edu.wpi.first.fields.DevMain"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "${rootDir}/shared/resources.gradle"
|
apply from: "${rootDir}/shared/resources.gradle"
|
||||||
@@ -44,7 +44,7 @@ sourceSets.main.resources {
|
|||||||
model {
|
model {
|
||||||
components {
|
components {
|
||||||
"${nativeName}"(NativeLibrarySpec) {
|
"${nativeName}"(NativeLibrarySpec) {
|
||||||
baseName = 'fieldImages'
|
baseName = 'fields'
|
||||||
sources {
|
sources {
|
||||||
cpp {
|
cpp {
|
||||||
source {
|
source {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
@FILENAME_DEP_REPLACE@
|
@FILENAME_DEP_REPLACE@
|
||||||
include(${SELF_DIR}/fieldimages.cmake)
|
include(${SELF_DIR}/fields.cmake)
|
||||||
if(@WITH_JAVA@)
|
if(@WITH_JAVA@)
|
||||||
include(${SELF_DIR}/fieldImages_jar.cmake)
|
include(${SELF_DIR}/fields_jar.cmake)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apply plugin: 'maven-publish'
|
|||||||
|
|
||||||
def baseArtifactId = project.nativeName
|
def baseArtifactId = project.nativeName
|
||||||
def artifactGroupId = project.groupId
|
def artifactGroupId = project.groupId
|
||||||
def cppZipBaseName = "_GROUP_edu_wpi_first_fieldImages_ID_${baseArtifactId}-cpp_CLS"
|
def cppZipBaseName = "_GROUP_edu_wpi_first_fields_ID_${baseArtifactId}-cpp_CLS"
|
||||||
|
|
||||||
def outputsFolder = file("$project.buildDir/outputs")
|
def outputsFolder = file("$project.buildDir/outputs")
|
||||||
|
|
||||||
@@ -51,7 +51,7 @@ addTaskToCopyAllOutputs(cppSourcesZip)
|
|||||||
|
|
||||||
model {
|
model {
|
||||||
publishing {
|
publishing {
|
||||||
def wpilibCTaskList = createComponentZipTasks($.components, ['fieldImages'], cppZipBaseName, Zip, project, includeStandardZipFormat)
|
def wpilibCTaskList = createComponentZipTasks($.components, ['fields'], cppZipBaseName, Zip, project, includeStandardZipFormat)
|
||||||
|
|
||||||
publications {
|
publications {
|
||||||
cpp(MavenPublication) {
|
cpp(MavenPublication) {
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ wpilib_cc_library(
|
|||||||
],
|
],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
"//fieldImages",
|
"//fields",
|
||||||
"//wpigui",
|
"//wpigui",
|
||||||
"//wpimath",
|
"//wpimath",
|
||||||
"//wpiutil",
|
"//wpiutil",
|
||||||
@@ -30,7 +30,7 @@ wpilib_cc_static_library(
|
|||||||
"//wpigui:static/wpigui",
|
"//wpigui:static/wpigui",
|
||||||
"//wpimath:static/wpimath",
|
"//wpimath:static/wpimath",
|
||||||
"//wpiutil:static/wpiutil",
|
"//wpiutil:static/wpiutil",
|
||||||
"//fieldImages:static/fieldImages",
|
"//fields:static/fields",
|
||||||
],
|
],
|
||||||
visibility = ["//visibility:public"],
|
visibility = ["//visibility:public"],
|
||||||
deps = [
|
deps = [
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ endif()
|
|||||||
set_property(TARGET libglass PROPERTY FOLDER "libraries")
|
set_property(TARGET libglass PROPERTY FOLDER "libraries")
|
||||||
|
|
||||||
wpilib_target_warnings(libglass)
|
wpilib_target_warnings(libglass)
|
||||||
target_link_libraries(libglass PUBLIC wpigui wpimath wpiutil fieldImages)
|
target_link_libraries(libglass PUBLIC wpigui wpimath wpiutil fields)
|
||||||
|
|
||||||
target_include_directories(
|
target_include_directories(
|
||||||
libglass
|
libglass
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ model {
|
|||||||
|
|
||||||
lib project: ':wpimath', library: 'wpimath', linkage: 'shared'
|
lib project: ':wpimath', library: 'wpimath', linkage: 'shared'
|
||||||
lib project: ':wpigui', library: 'wpigui', linkage: 'static'
|
lib project: ':wpigui', library: 'wpigui', linkage: 'static'
|
||||||
lib project: ':fieldImages', library: 'fieldImages', linkage: 'shared'
|
lib project: ':fields', library: 'fields', linkage: 'shared'
|
||||||
lib project: ':thirdparty:imgui_suite', library: 'imguiSuite', linkage: 'static'
|
lib project: ':thirdparty:imgui_suite', library: 'imguiSuite', linkage: 'static'
|
||||||
lib project: ':wpiutil', library: 'wpiutil', linkage: 'shared'
|
lib project: ':wpiutil', library: 'wpiutil', linkage: 'shared'
|
||||||
}
|
}
|
||||||
@@ -126,7 +126,7 @@ model {
|
|||||||
lib project: ':wpinet', library: 'wpinet', linkage: 'shared'
|
lib project: ':wpinet', library: 'wpinet', linkage: 'shared'
|
||||||
lib project: ':wpimath', library: 'wpimath', linkage: 'shared'
|
lib project: ':wpimath', library: 'wpimath', linkage: 'shared'
|
||||||
lib project: ':wpigui', library: 'wpigui', linkage: 'static'
|
lib project: ':wpigui', library: 'wpigui', linkage: 'static'
|
||||||
lib project: ':fieldImages', library: 'fieldImages', linkage: 'shared'
|
lib project: ':fields', library: 'fields', linkage: 'shared'
|
||||||
lib project: ':thirdparty:imgui_suite', library: 'imguiSuite', linkage: 'static'
|
lib project: ':thirdparty:imgui_suite', library: 'imguiSuite', linkage: 'static'
|
||||||
lib project: ':wpiutil', library: 'wpiutil', linkage: 'shared'
|
lib project: ':wpiutil', library: 'wpiutil', linkage: 'shared'
|
||||||
}
|
}
|
||||||
@@ -165,7 +165,7 @@ model {
|
|||||||
lib project: ':wpinet', library: 'wpinet', linkage: 'static'
|
lib project: ':wpinet', library: 'wpinet', linkage: 'static'
|
||||||
lib project: ':wpimath', library: 'wpimath', linkage: 'static'
|
lib project: ':wpimath', library: 'wpimath', linkage: 'static'
|
||||||
lib project: ':wpigui', library: 'wpigui', linkage: 'static'
|
lib project: ':wpigui', library: 'wpigui', linkage: 'static'
|
||||||
lib project: ':fieldImages', library: 'fieldImages', linkage: 'static'
|
lib project: ':fields', library: 'fields', linkage: 'static'
|
||||||
nativeUtils.useRequiredLibrary(it, 'opencv_static')
|
nativeUtils.useRequiredLibrary(it, 'opencv_static')
|
||||||
lib project: ':thirdparty:imgui_suite', library: 'imguiSuite', linkage: 'static'
|
lib project: ':thirdparty:imgui_suite', library: 'imguiSuite', linkage: 'static'
|
||||||
lib project: ':wpiutil', library: 'wpiutil', linkage: 'static'
|
lib project: ':wpiutil', library: 'wpiutil', linkage: 'static'
|
||||||
|
|||||||
@@ -13,5 +13,5 @@ apply from: "${rootDir}/shared/java/javacommon.gradle"
|
|||||||
dependencies {
|
dependencies {
|
||||||
implementation project(':wpiannotations')
|
implementation project(':wpiannotations')
|
||||||
testImplementation 'com.google.testing.compile:compile-testing:+'
|
testImplementation 'com.google.testing.compile:compile-testing:+'
|
||||||
testImplementation project(':wpilibNewCommands')
|
testImplementation project(':commandsv2')
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ include 'wpilibj'
|
|||||||
include 'javacPlugin'
|
include 'javacPlugin'
|
||||||
include 'wpiannotations'
|
include 'wpiannotations'
|
||||||
include 'wpiunits'
|
include 'wpiunits'
|
||||||
include 'fieldImages'
|
include 'fields'
|
||||||
include 'glass'
|
include 'glass'
|
||||||
include 'outlineviewer'
|
include 'outlineviewer'
|
||||||
include 'datalogtool'
|
include 'datalogtool'
|
||||||
@@ -47,7 +47,7 @@ include 'simulation:halsim_ws_server'
|
|||||||
include 'simulation:halsim_xrp'
|
include 'simulation:halsim_xrp'
|
||||||
include 'cameraserver'
|
include 'cameraserver'
|
||||||
include 'cameraserver:multiCameraServer'
|
include 'cameraserver:multiCameraServer'
|
||||||
include 'wpilibNewCommands'
|
include 'commandsv2'
|
||||||
include 'commandsv3'
|
include 'commandsv3'
|
||||||
include 'romiVendordep'
|
include 'romiVendordep'
|
||||||
include 'xrpVendordep'
|
include 'xrpVendordep'
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ model {
|
|||||||
project(':ntcore').addNtcoreDependency(it, 'shared')
|
project(':ntcore').addNtcoreDependency(it, 'shared')
|
||||||
lib project: ':wpinet', library: 'wpinet', linkage: 'shared'
|
lib project: ':wpinet', library: 'wpinet', linkage: 'shared'
|
||||||
lib project: ':wpiutil', library: 'wpiutil', linkage: 'shared'
|
lib project: ':wpiutil', library: 'wpiutil', linkage: 'shared'
|
||||||
lib project: ':fieldImages', library: 'fieldImages', linkage: 'static'
|
lib project: ':fields', library: 'fields', linkage: 'static'
|
||||||
lib project: ':thirdparty:imgui_suite', library: 'imguiSuite', linkage: 'static'
|
lib project: ':thirdparty:imgui_suite', library: 'imguiSuite', linkage: 'static'
|
||||||
if (it.targetPlatform.name == nativeUtils.wpi.platforms.systemcore) {
|
if (it.targetPlatform.name == nativeUtils.wpi.platforms.systemcore) {
|
||||||
it.buildable = false
|
it.buildable = false
|
||||||
|
|||||||
@@ -101,7 +101,7 @@ model {
|
|||||||
lib project: ':wpinet', library: 'wpinet', linkage: 'static'
|
lib project: ':wpinet', library: 'wpinet', linkage: 'static'
|
||||||
lib project: ':wpiutil', library: 'wpiutil', linkage: 'static'
|
lib project: ':wpiutil', library: 'wpiutil', linkage: 'static'
|
||||||
lib project: ':wpigui', library: 'wpigui', linkage: 'static'
|
lib project: ':wpigui', library: 'wpigui', linkage: 'static'
|
||||||
lib project: ':fieldImages', library: 'fieldImages', linkage: 'static'
|
lib project: ':fields', library: 'fields', linkage: 'static'
|
||||||
lib project: ':thirdparty:imgui_suite', library: 'imguiSuite', linkage: 'static'
|
lib project: ':thirdparty:imgui_suite', library: 'imguiSuite', linkage: 'static'
|
||||||
if (it.targetPlatform.operatingSystem.isWindows()) {
|
if (it.targetPlatform.operatingSystem.isWindows()) {
|
||||||
it.linker.args << 'Gdi32.lib' << 'Shell32.lib' << 'd3d11.lib' << 'd3dcompiler.lib'
|
it.linker.args << 'Gdi32.lib' << 'Shell32.lib' << 'd3d11.lib' << 'd3dcompiler.lib'
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ foreach(example ${EXAMPLES})
|
|||||||
${example}
|
${example}
|
||||||
apriltag
|
apriltag
|
||||||
wpilibc
|
wpilibc
|
||||||
wpilibNewCommands
|
commandsv2
|
||||||
romiVendordep
|
romiVendordep
|
||||||
xrpVendordep
|
xrpVendordep
|
||||||
)
|
)
|
||||||
@@ -44,7 +44,7 @@ foreach(example ${EXAMPLES})
|
|||||||
Example_${example}_test
|
Example_${example}_test
|
||||||
apriltag
|
apriltag
|
||||||
wpilibc
|
wpilibc
|
||||||
wpilibNewCommands
|
commandsv2
|
||||||
romiVendordep
|
romiVendordep
|
||||||
xrpVendordep
|
xrpVendordep
|
||||||
googletest
|
googletest
|
||||||
@@ -62,7 +62,7 @@ foreach(template ${TEMPLATES})
|
|||||||
add_executable(${template} ${sources})
|
add_executable(${template} ${sources})
|
||||||
wpilib_target_warnings(${template})
|
wpilib_target_warnings(${template})
|
||||||
target_include_directories(${template} PUBLIC src/main/cpp/templates/${template}/include)
|
target_include_directories(${template} PUBLIC src/main/cpp/templates/${template}/include)
|
||||||
target_link_libraries(${template} wpilibc wpilibNewCommands romiVendordep xrpVendordep)
|
target_link_libraries(${template} wpilibc commandsv2 romiVendordep xrpVendordep)
|
||||||
add_dependencies(wpilibcExamples ${template})
|
add_dependencies(wpilibcExamples ${template})
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
@@ -75,6 +75,6 @@ foreach(snippet ${SNIPPETS})
|
|||||||
add_executable(snippet${snippet} ${sources})
|
add_executable(snippet${snippet} ${sources})
|
||||||
wpilib_target_warnings(snippet${snippet})
|
wpilib_target_warnings(snippet${snippet})
|
||||||
target_include_directories(snippet${snippet} PUBLIC src/main/cpp/snippets/${snippet}/include)
|
target_include_directories(snippet${snippet} PUBLIC src/main/cpp/snippets/${snippet}/include)
|
||||||
target_link_libraries(snippet${snippet} wpilibc wpilibNewCommands romiVendordep xrpVendordep)
|
target_link_libraries(snippet${snippet} wpilibc commandsv2 romiVendordep xrpVendordep)
|
||||||
add_dependencies(wpilibcExamples_snippets snippet${snippet})
|
add_dependencies(wpilibcExamples_snippets snippet${snippet})
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ model {
|
|||||||
binary.buildable = false
|
binary.buildable = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
lib project: ':wpilibNewCommands', library: 'wpilibNewCommands', linkage: 'shared'
|
lib project: ':commandsv2', library: 'commandsv2', linkage: 'shared'
|
||||||
lib project: ':romiVendordep', library: 'romiVendordep', linkage: 'shared'
|
lib project: ':romiVendordep', library: 'romiVendordep', linkage: 'shared'
|
||||||
lib project: ':xrpVendordep', library: 'xrpVendordep', linkage: 'shared'
|
lib project: ':xrpVendordep', library: 'xrpVendordep', linkage: 'shared'
|
||||||
lib project: ':apriltag', library: 'apriltag', linkage: 'shared'
|
lib project: ':apriltag', library: 'apriltag', linkage: 'shared'
|
||||||
@@ -108,7 +108,7 @@ model {
|
|||||||
"${key}"(NativeExecutableSpec) {
|
"${key}"(NativeExecutableSpec) {
|
||||||
targetBuildTypes 'debug'
|
targetBuildTypes 'debug'
|
||||||
binaries.all { binary ->
|
binaries.all { binary ->
|
||||||
lib project: ':wpilibNewCommands', library: 'wpilibNewCommands', linkage: 'shared'
|
lib project: ':commandsv2', library: 'commandsv2', linkage: 'shared'
|
||||||
lib project: ':romiVendordep', library: 'romiVendordep', linkage: 'shared'
|
lib project: ':romiVendordep', library: 'romiVendordep', linkage: 'shared'
|
||||||
lib project: ':xrpVendordep', library: 'xrpVendordep', linkage: 'shared'
|
lib project: ':xrpVendordep', library: 'xrpVendordep', linkage: 'shared'
|
||||||
lib project: ':wpilibc', library: 'wpilibc', linkage: 'shared'
|
lib project: ':wpilibc', library: 'wpilibc', linkage: 'shared'
|
||||||
@@ -156,7 +156,7 @@ model {
|
|||||||
"${key}"(NativeExecutableSpec) {
|
"${key}"(NativeExecutableSpec) {
|
||||||
targetBuildTypes 'debug'
|
targetBuildTypes 'debug'
|
||||||
binaries.all { binary ->
|
binaries.all { binary ->
|
||||||
lib project: ':wpilibNewCommands', library: 'wpilibNewCommands', linkage: 'shared'
|
lib project: ':commandsv2', library: 'commandsv2', linkage: 'shared'
|
||||||
lib project: ':romiVendordep', library: 'romiVendordep', linkage: 'shared'
|
lib project: ':romiVendordep', library: 'romiVendordep', linkage: 'shared'
|
||||||
lib project: ':xrpVendordep', library: 'xrpVendordep', linkage: 'shared'
|
lib project: ':xrpVendordep', library: 'xrpVendordep', linkage: 'shared'
|
||||||
lib project: ':wpilibc', library: 'wpilibc', linkage: 'shared'
|
lib project: ':wpilibc', library: 'wpilibc', linkage: 'shared'
|
||||||
@@ -187,7 +187,7 @@ model {
|
|||||||
"snippets${key}"(NativeExecutableSpec) {
|
"snippets${key}"(NativeExecutableSpec) {
|
||||||
targetBuildTypes 'debug'
|
targetBuildTypes 'debug'
|
||||||
binaries.all { binary ->
|
binaries.all { binary ->
|
||||||
lib project: ':wpilibNewCommands', library: 'wpilibNewCommands', linkage: 'shared'
|
lib project: ':commandsv2', library: 'commandsv2', linkage: 'shared'
|
||||||
lib project: ':romiVendordep', library: 'romiVendordep', linkage: 'shared'
|
lib project: ':romiVendordep', library: 'romiVendordep', linkage: 'shared'
|
||||||
lib project: ':xrpVendordep', library: 'xrpVendordep', linkage: 'shared'
|
lib project: ':xrpVendordep', library: 'xrpVendordep', linkage: 'shared'
|
||||||
lib project: ':wpilibc', library: 'wpilibc', linkage: 'shared'
|
lib project: ':wpilibc', library: 'wpilibc', linkage: 'shared'
|
||||||
@@ -307,7 +307,7 @@ model {
|
|||||||
}
|
}
|
||||||
binaries {
|
binaries {
|
||||||
withType(GoogleTestTestSuiteBinarySpec) {
|
withType(GoogleTestTestSuiteBinarySpec) {
|
||||||
lib project: ':wpilibNewCommands', library: 'wpilibNewCommands', linkage: 'shared'
|
lib project: ':commandsv2', library: 'commandsv2', linkage: 'shared'
|
||||||
lib project: ':romiVendordep', library: 'romiVendordep', linkage: 'shared'
|
lib project: ':romiVendordep', library: 'romiVendordep', linkage: 'shared'
|
||||||
lib project: ':xrpVendordep', library: 'xrpVendordep', linkage: 'shared'
|
lib project: ':xrpVendordep', library: 'xrpVendordep', linkage: 'shared'
|
||||||
lib project: ':wpilibc', library: 'wpilibc', linkage: 'shared'
|
lib project: ':wpilibc', library: 'wpilibc', linkage: 'shared'
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ def build_examples(halsim_deps = []):
|
|||||||
name = folder + "-example",
|
name = folder + "-example",
|
||||||
srcs = native.glob(["src/main/cpp/examples/" + folder + "/cpp/**/*.cpp", "src/main/cpp/examples/" + folder + "/c/**/*.c"], allow_empty = True),
|
srcs = native.glob(["src/main/cpp/examples/" + folder + "/cpp/**/*.cpp", "src/main/cpp/examples/" + folder + "/c/**/*.c"], allow_empty = True),
|
||||||
deps = [
|
deps = [
|
||||||
"//wpilibNewCommands",
|
"//commandsv2",
|
||||||
"//apriltag",
|
"//apriltag",
|
||||||
"//romiVendordep",
|
"//romiVendordep",
|
||||||
"//xrpVendordep",
|
"//xrpVendordep",
|
||||||
@@ -59,7 +59,7 @@ def build_commands():
|
|||||||
srcs = native.glob(["src/main/cpp/commands/" + folder + "/**/*.cpp"]),
|
srcs = native.glob(["src/main/cpp/commands/" + folder + "/**/*.cpp"]),
|
||||||
hdrs = native.glob(["src/main/cpp/commands/" + folder + "/**/*.h"]),
|
hdrs = native.glob(["src/main/cpp/commands/" + folder + "/**/*.h"]),
|
||||||
deps = [
|
deps = [
|
||||||
"//wpilibNewCommands",
|
"//commandsv2",
|
||||||
],
|
],
|
||||||
strip_include_prefix = "src/main/cpp/commands/" + folder,
|
strip_include_prefix = "src/main/cpp/commands/" + folder,
|
||||||
tags = ["wpi-example"],
|
tags = ["wpi-example"],
|
||||||
@@ -74,7 +74,7 @@ def build_snippets():
|
|||||||
srcs = native.glob(["src/main/cpp/snippets/" + folder + "/**/*.cpp"]),
|
srcs = native.glob(["src/main/cpp/snippets/" + folder + "/**/*.cpp"]),
|
||||||
hdrs = native.glob(["src/main/cpp/snippets/" + folder + "/**/*.h"], allow_empty = True),
|
hdrs = native.glob(["src/main/cpp/snippets/" + folder + "/**/*.h"], allow_empty = True),
|
||||||
deps = [
|
deps = [
|
||||||
"//wpilibNewCommands",
|
"//commandsv2",
|
||||||
],
|
],
|
||||||
strip_include_prefix = "src/main/cpp/snippets/" + folder + "/include",
|
strip_include_prefix = "src/main/cpp/snippets/" + folder + "/include",
|
||||||
tags = ["wpi-example"],
|
tags = ["wpi-example"],
|
||||||
@@ -89,7 +89,7 @@ def build_templates():
|
|||||||
srcs = native.glob(["src/main/cpp/templates/" + folder + "/**/*.cpp"]),
|
srcs = native.glob(["src/main/cpp/templates/" + folder + "/**/*.cpp"]),
|
||||||
hdrs = native.glob(["src/main/cpp/templates/" + folder + "/**/*.h"]),
|
hdrs = native.glob(["src/main/cpp/templates/" + folder + "/**/*.h"]),
|
||||||
deps = [
|
deps = [
|
||||||
"//wpilibNewCommands",
|
"//commandsv2",
|
||||||
],
|
],
|
||||||
strip_include_prefix = "src/main/cpp/templates/" + folder + "/include",
|
strip_include_prefix = "src/main/cpp/templates/" + folder + "/include",
|
||||||
tags = ["wpi-example"],
|
tags = ["wpi-example"],
|
||||||
@@ -104,7 +104,7 @@ def build_tests():
|
|||||||
size = "small",
|
size = "small",
|
||||||
srcs = native.glob([example_test_folder + "/**/*.cpp", example_src_folder + "/cpp/**/*.cpp", example_src_folder + "/c/**/*.c"], allow_empty = True),
|
srcs = native.glob([example_test_folder + "/**/*.cpp", example_src_folder + "/cpp/**/*.cpp", example_src_folder + "/c/**/*.c"], allow_empty = True),
|
||||||
deps = [
|
deps = [
|
||||||
"//wpilibNewCommands",
|
"//commandsv2",
|
||||||
":{}-examples-headers".format(folder),
|
":{}-examples-headers".format(folder),
|
||||||
"//thirdparty/googletest",
|
"//thirdparty/googletest",
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ dependencies {
|
|||||||
implementation project(':ntcore')
|
implementation project(':ntcore')
|
||||||
implementation project(':cscore')
|
implementation project(':cscore')
|
||||||
implementation project(':cameraserver')
|
implementation project(':cameraserver')
|
||||||
implementation project(':wpilibNewCommands')
|
implementation project(':commandsv2')
|
||||||
implementation project(':romiVendordep')
|
implementation project(':romiVendordep')
|
||||||
implementation project(':xrpVendordep')
|
implementation project(':xrpVendordep')
|
||||||
implementation project(':epilogue-runtime')
|
implementation project(':epilogue-runtime')
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ def build_examples(halsim_deps):
|
|||||||
"//ntcore:ntcore-java",
|
"//ntcore:ntcore-java",
|
||||||
"//wpimath:wpimath-java",
|
"//wpimath:wpimath-java",
|
||||||
"//wpilibj:wpilibj-java",
|
"//wpilibj:wpilibj-java",
|
||||||
"//wpilibNewCommands:wpilibNewCommands-java",
|
"//commandsv2:commandsv2-java",
|
||||||
"//wpiutil:wpiutil-java",
|
"//wpiutil:wpiutil-java",
|
||||||
"//romiVendordep:romiVendordep-java",
|
"//romiVendordep:romiVendordep-java",
|
||||||
"//xrpVendordep:xrpVendordep-java",
|
"//xrpVendordep:xrpVendordep-java",
|
||||||
@@ -67,7 +67,7 @@ def build_commands():
|
|||||||
deps = [
|
deps = [
|
||||||
"//hal:hal-java",
|
"//hal:hal-java",
|
||||||
"//wpilibj:wpilibj-java",
|
"//wpilibj:wpilibj-java",
|
||||||
"//wpilibNewCommands:wpilibNewCommands-java",
|
"//commandsv2:commandsv2-java",
|
||||||
"//wpimath:wpimath-java",
|
"//wpimath:wpimath-java",
|
||||||
],
|
],
|
||||||
tags = ["wpi-example"],
|
tags = ["wpi-example"],
|
||||||
@@ -98,7 +98,7 @@ def build_templates():
|
|||||||
deps = [
|
deps = [
|
||||||
"//hal:hal-java",
|
"//hal:hal-java",
|
||||||
"//wpilibj:wpilibj-java",
|
"//wpilibj:wpilibj-java",
|
||||||
"//wpilibNewCommands:wpilibNewCommands-java",
|
"//commandsv2:commandsv2-java",
|
||||||
"//wpimath:wpimath-java",
|
"//wpimath:wpimath-java",
|
||||||
"//wpiutil:wpiutil-java",
|
"//wpiutil:wpiutil-java",
|
||||||
"//xrpVendordep:xrpVendordep-java",
|
"//xrpVendordep:xrpVendordep-java",
|
||||||
@@ -116,7 +116,7 @@ def build_tests():
|
|||||||
"//hal:hal-java",
|
"//hal:hal-java",
|
||||||
"//ntcore:ntcore-java",
|
"//ntcore:ntcore-java",
|
||||||
"//wpilibj:wpilibj-java",
|
"//wpilibj:wpilibj-java",
|
||||||
"//wpilibNewCommands:wpilibNewCommands-java",
|
"//commandsv2:commandsv2-java",
|
||||||
"//wpimath:wpimath-java",
|
"//wpimath:wpimath-java",
|
||||||
"//wpiutil:wpiutil-java",
|
"//wpiutil:wpiutil-java",
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user