mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
* Replaced include guards with #pragma once * All source files now have exactly one newline appended Some files had either two newlines at the end or none (which isn't POSIX compliant). This patch fixes that.
29 lines
575 B
Groovy
29 lines
575 B
Groovy
plugins {
|
|
id 'org.ysb33r.doxygen' version '0.2'
|
|
id 'cpp'
|
|
id 'maven-publish'
|
|
}
|
|
|
|
evaluationDependsOn(':hal')
|
|
|
|
ext.shared = 'shared'
|
|
ext.athena = 'athena'
|
|
ext.simulation = 'sim'
|
|
|
|
// Attempts to execute the doxygen command. If there is no exception, doxygen exists, so return true. If there's
|
|
// an IOException, it doesn't exist, so return false
|
|
ext.checkDoxygen = {
|
|
try {
|
|
'doxygen'.execute()
|
|
true
|
|
} catch (IOException e) {
|
|
false
|
|
}
|
|
}
|
|
|
|
apply from: 'athena.gradle'
|
|
|
|
if (hasProperty('makeSim')){
|
|
apply from: 'simulation.gradle'
|
|
}
|