mirror of
https://github.com/ysoftdevs/gradle-training.git
synced 2026-04-19 15:01:48 +02:00
add c language Visual Studio example
This commit is contained in:
18
08-c-visual-studio/build.gradle
Normal file
18
08-c-visual-studio/build.gradle
Normal file
@@ -0,0 +1,18 @@
|
||||
apply plugin: 'c'
|
||||
apply plugin: 'visual-studio'
|
||||
|
||||
sources {
|
||||
main {
|
||||
c {
|
||||
source {
|
||||
// Include just source, avoid including *.swp and other helper files
|
||||
include "**/*.c"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
executables {
|
||||
main {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user