Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 45992419fda0d87a639a178836ef099143ad4e09 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
plugins {
	id "cpp"
}

model {
	components {
		etrice_runtime_cpp(NativeLibrarySpec) {
			sources.cpp {
				source {
					srcDirs = ['src', 'src-gen']
					include '**/*.cpp'
				}
				exportedHeaders {
					srcDirs = ['src', 'src-gen']
				}
				lib project: ':runtime:org.eclipse.etrice.runtime.c', library: 'etrice_runtime_c', linkage: 'api'
			}
			binaries {
				withType(SharedLibraryBinarySpec) { buildable = false }
				all { cppCompiler.args '-g3' }
			}
		}
	}
}

Back to the top