- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 33 for PCH (0.27 sec)
-
platforms/documentation/docs/src/snippets/native-binaries/pre-compiled-headers/groovy/src/hello/cpp/hello.cpp
#include "pch.h" void LIB_FUNC Greeter::hello () { std::cout << "Hello world!" << std::endl;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 100 bytes - Viewed (0) -
testing/performance/src/performanceTest/groovy/org/gradle/performance/experiment/nativeplatform/NativePreCompiledHeaderPerformanceTest.groovy
runner.testGroup = 'pre-compiled header builds' runner.buildSpec { displayName("Using PCH") invocation { args("-PusePCH") tasksToRun("clean", "assemble") } } runner.baseline { displayName("No PCH") invocation { tasksToRun("clean", "assemble") } } when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/pre-compiled-headers/groovy/build.gradle
plugins { id 'cpp' } // end::apply-plugin[] // tag::libraries[] model { components { hello(NativeLibrarySpec) { sources { cpp { preCompiledHeader "pch.h" } } } } } // end::libraries[] // tag::executables[] model { components { main(NativeExecutableSpec) { // tag::source-library[]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 881 bytes - Viewed (0) -
testing/performance/src/templates/native-pch-source/lib.c
#include "pch.h" <% functionCount.times { %> int ${functionName}_${it+1} () { printf("Hello world!"); return 0; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 126 bytes - Viewed (0) -
build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle
] subProjectTemplates = ['native-pch-source', 'native-pch-component', 'gradle-properties'] daemonMemory = '256m' } performanceTest.registerTestProject("mediumPCHNative", NativeProjectGeneratorTask) { projects = 1 sourceFiles = 200 templateArgs = [ moduleCount: 1, functionCount: 1 ] subProjectTemplates = ['native-pch-source', 'native-pch-component', 'gradle-properties']
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 14 15:43:39 UTC 2024 - 19.5K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/IncrementalNativeCompiler.java
// For source files that do include the precompiled header, we mark them as a "source file for pch" // The native compiler then adds the appropriate compiler arguments for those source files that can use PCH if (spec.getPreCompiledHeader() != null) { ImmutableList.Builder<File> sourceFiles = ImmutableList.builder();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 5.7K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/PCHUtilsTest.groovy
type | extension CPCHCompileSpec | "c" CppPCHCompileSpec | "cpp" } def "generates a PCH object directory" () { given: def tempDir = tmpDirProvider.createDir("temp") def objectDir = tmpDirProvider.createDir("pch") def prefixFile = tempDir.createFile("header.h") def objectFile = tempDir.createFile("header.o")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 4.2K bytes - Viewed (0) -
testing/performance/src/templates/native-pch-component/build.gradle
<% moduleCount.times { %> lib${it+1}(NativeLibrarySpec) { sources { c { if (project.hasProperty("usePCH")) { preCompiledHeader "pch.h" } } binaries.all { if (toolChain.name == "visualCpp") { cCompiler.args("/showIncludes") } else {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 1.2K bytes - Viewed (0) -
platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/internal/pch/PchEnabledLanguageTransform.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.nativeplatform.internal.pch; import org.gradle.language.base.internal.SourceTransformTaskConfig; import org.gradle.language.base.internal.registry.LanguageTransform; import org.gradle.language.nativeplatform.DependentSourceSet;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.1K bytes - Viewed (0) -
platforms/native/language-native/src/test/groovy/org/gradle/language/objectivec/tasks/ObjectiveCPreCompiledHeaderCompileTest.groovy
Compiler<ObjectiveCPCHCompileSpec> objCPCHCompiler = Mock(Compiler) def setup() { objCPCHCompile = TestUtil.createTask(ObjectiveCPreCompiledHeaderCompile, project) } def "executes using the C PCH Compiler"() { def sourceFile = temporaryFolder.createFile("sourceFile") def result = Mock(WorkResult) when: objCPCHCompile.toolChain = toolChain objCPCHCompile.targetPlatform = platform
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 3.1K bytes - Viewed (0)