Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for outputPlatform (0.27 sec)

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

            new SourceFile("cpp", "hello.cpp", """
    #include <iostream>
    using namespace std;
    #include "hello.h"
    
    void DLL_FUNC outputLibraryPlatform() {
        ${outputPlatform()}
    }
            """)
        ]
    
        def outputPlatform() {
            return """
        #if defined(__x86_64__) || defined(_M_X64)
        cout << "amd64";
        #elif defined(__i386) || defined(_M_IX86)
        cout << "i386";
        #elif defined(_M_IA64)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top