mirror of
				https://github.com/Telecominfraproject/wlan-cloud-lib-poco.git
				synced 2025-11-04 04:28:10 +00:00 
			
		
		
		
	Backport of pocoproject/feature-gradle to pocoproject/develop (#2127)
* Backport of feature-gradle Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Replace '/' by '\' to comply with DOS path Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Cleanup Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Put environment setting at the Exec task. Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Use standard release Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Updated mkdoc configuration Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Remove lines guarded by POCO_ENABLE_CPP11 Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Merge remote-tracking branch 'origin/develop' into develop * Fix NuGet & Wix input dependencies file set. Signed-off-by: Francis ANDRE <francis.andre.kampbell@orange.fr> * Remaining fixes for Data2SQL switch. * Use $global:LastExitCode instead of a local LastExitCode
This commit is contained in:
		
				
					committed by
					
						
						Aleksandar Fabijanic
					
				
			
			
				
	
			
			
			
						parent
						
							22ddce7c9d
						
					
				
				
					commit
					5fa3d6094e
				
			
							
								
								
									
										69
									
								
								SQL/samples/build.gradle
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										69
									
								
								SQL/samples/build.gradle
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,69 @@
 | 
			
		||||
model {
 | 
			
		||||
	components {
 | 
			
		||||
		Binding(NativeExecutableSpec) {
 | 
			
		||||
			sources {
 | 
			
		||||
				cpp.source { srcDir 'Binding/src' include '**/*.cpp' }
 | 
			
		||||
				cpp.lib project: ':SQL', library: 'SQL'				
 | 
			
		||||
				cpp.lib project: ':SQL:SQLite', library: 'SQLSQLite'				
 | 
			
		||||
				cpp.lib project: ':Foundation', library: 'Foundation'				
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		RecordSet(NativeExecutableSpec) {
 | 
			
		||||
			sources {
 | 
			
		||||
				cpp.source { srcDir 'RecordSet/src' include '**/*.cpp' }
 | 
			
		||||
				cpp.lib project: ':SQL', library: 'SQL'				
 | 
			
		||||
				cpp.lib project: ':SQL:SQLite', library: 'SQLSQLite'				
 | 
			
		||||
				cpp.lib project: ':Foundation', library: 'Foundation'				
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		RowFormatter(NativeExecutableSpec) {
 | 
			
		||||
			sources {
 | 
			
		||||
				cpp.source { srcDir 'RowFormatter/src' include '**/*.cpp' }
 | 
			
		||||
				cpp.lib project: ':SQL', library: 'SQL'				
 | 
			
		||||
				cpp.lib project: ':SQL:SQLite', library: 'SQLSQLite'				
 | 
			
		||||
				cpp.lib project: ':Foundation', library: 'Foundation'				
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		Tuple(NativeExecutableSpec) {
 | 
			
		||||
			sources {
 | 
			
		||||
				cpp.source { srcDir 'Tuple/src' include '**/*.cpp' }
 | 
			
		||||
				cpp.lib project: ':SQL', library: 'SQL'				
 | 
			
		||||
				cpp.lib project: ':SQL:SQLite', library: 'SQLSQLite'				
 | 
			
		||||
				cpp.lib project: ':Foundation', library: 'Foundation'				
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		TypeHandler(NativeExecutableSpec) {
 | 
			
		||||
			sources {
 | 
			
		||||
				cpp.source { srcDir 'TypeHandler/src' include '**/*.cpp' }
 | 
			
		||||
				cpp.lib project: ':SQL', library: 'SQL'				
 | 
			
		||||
				cpp.lib project: ':SQL:SQLite', library: 'SQLSQLite'				
 | 
			
		||||
				cpp.lib project: ':Foundation', library: 'Foundation'				
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		WebNotifier(NativeExecutableSpec) {
 | 
			
		||||
			sources {
 | 
			
		||||
				cpp.source { srcDir 'WebNotifier/src' include '**/*.cpp' }
 | 
			
		||||
				cpp.lib project: ':SQL', library: 'SQL'				
 | 
			
		||||
				cpp.lib project: ':SQL:SQLite', library: 'SQLSQLite'				
 | 
			
		||||
				cpp.lib project: ':Net', library: 'Net'				
 | 
			
		||||
				cpp.lib project: ':Foundation', library: 'Foundation'				
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	binaries {
 | 
			
		||||
		all {
 | 
			
		||||
		}
 | 
			
		||||
		withType(SharedLibraryBinarySpec) {
 | 
			
		||||
			lib project: ':Foundation', library: 'Foundation', linkage: 'shared'
 | 
			
		||||
		}
 | 
			
		||||
		withType(StaticLibraryBinarySpec) {
 | 
			
		||||
			lib project: ':Foundation', library: 'Foundation', linkage: 'static'
 | 
			
		||||
		}
 | 
			
		||||
		withType(NativeExecutableSpec) {
 | 
			
		||||
			lib project: ':Foundation', library: 'Foundation', linkage: 'static'
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
task samples { dependsOn "assemble" }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user