Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for CppMainUsesGreeter (0.12 sec)

  1. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppMainUsesGreeter.groovy

     * limitations under the License.
     */
    
    package org.gradle.nativeplatform.fixtures.app
    
    import org.gradle.integtests.fixtures.SourceFile
    
    
    class CppMainUsesGreeter extends SourceFileElement implements AppElement {
        final GreeterElement greeter
    
        CppMainUsesGreeter(GreeterElement greeter) {
            this.greeter = greeter
        }
    
        final SourceFile sourceFile = new SourceFile("cpp", "main.cpp", """
        #include "greeter.h"
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-16 20:20
    - 1.2K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppAppWithLibrary.groovy

    /**
     * A C++ app composed of 2 modules: an executable and a library.
     */
    class CppAppWithLibrary implements AppElement {
        final greeter = new CppGreeter().asLib()
        final main = new CppMainUsesGreeter(greeter)
    
        @Override
        String getExpectedOutput() {
            return main.expectedOutput
        }
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-16 20:20
    - 971 bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/app/CppAppWithLibraries.groovy

     */
    class CppAppWithLibraries implements AppElement {
        private final greeter = new CppGreeterUsesLogger()
        private final logger = new CppLogger()
        final main = new CppMainUsesGreeter(greeter)
        final greeterLib = greeter.asLib()
        final loggerLib = logger.asLib()
    
        @Override
        String getExpectedOutput() {
            return main.expectedOutput
        }
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-11-16 20:20
    - 1.1K bytes
    - Viewed (0)
Back to top