Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for MSVC (0.03 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/DefaultVisualCppMetadataProvider.java

            File msvcVersionFile = new File(installDir, VS2017_METADATA_FILE_PATH);
            if (!msvcVersionFile.exists() || !msvcVersionFile.isFile()) {
                LOGGER.debug("The MSVC version file at {} either does not exist or is not a file.  Cannot determine the MSVC version for this installation.", msvcVersionFile.getAbsolutePath());
                return null;
            }
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/CommandLineToolVersionLocatorTest.groovy

            versionMetadata[0].installDir == new File(localRoot, "Program Files/Microsoft Visual Studio/2017/Community")
            versionMetadata[0].visualCppDir == new File(versionMetadata[0].installDir, "VC/Tools/MSVC/1.2.3.4")
            versionMetadata[0].visualCppVersion == VersionNumber.parse("1.2.3.4")
            versionMetadata[0].compatibility == VS2017_OR_LATER
    
            versionMetadata[1].version == VersionNumber.parse("14.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/testFixtures/groovy/org/gradle/nativeplatform/fixtures/NativeToolChainTestInterceptor.java

            return Collections.singleton(new ToolChainExecution(versionedTool));
        }
    
        // TODO: This exists because we detect all available native tool chains on a system (clang, gcc, swiftc, msvc).
        //
        // Many of our old tests assume that available tool chains can compile many/most languages, so they do not try to
        // restrict the required set of tool chains.
        //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  4. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppNativeCompilerTest.groovy

            ['/nologo', '/c', '/Dfoo=bar', '/Dempty', '-firstArg', '-secondArg',
             '/I' + includeDir.absoluteFile.toString(), '/I' + systemIncludeDir.absoluteFile.toString()]
        }
    
        def "arguments include MSVC output flag and output file name"() {
            given:
            def compiler = getCompiler()
            def testDir = tmpDirProvider.testDirectory
            def outputFile = testDir.file("output.ext")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/msvcpp/version/DefaultVisualCppMetadataProviderTest.groovy

            then:
            metadata.version == VersionNumber.parse("1.2.3.4")
            metadata.visualCppDir == new File(installDir, "VC/Tools/MSVC/1.2.3.4")
        }
    
        def "returns null when metadata cannot be derived from compiler metadata file"() {
            def installDir = tmpDir.createDir("dir1")
    
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  6. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/msvcpp/VisualCppNativeCompiler.java

            List<String> args = new ArrayList<String>();
            if (spec.isDebuggable()) {
                args.add("/Fd" + new File(outputFile.getParentFile(), outputFile.getName() + ".pdb"));
            }
            // MSVC doesn't allow a space between Fo and the file name
            args.add("/Fo" + outputFile.getAbsolutePath());
            return args;
        }
    
        @Override
        protected void addOptionsFileArgs(List<String> args, File tempDir) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-spi.h

    // catches that.
    //
    // For the same reason, we have to write
    //   if (::testing::internal::AlwaysTrue()) { statement; }
    // instead of
    //   GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
    // to avoid an MSVC warning on unreachable code.
    #define EXPECT_NONFATAL_FAILURE(statement, substr) \
      do {\
        ::testing::TestPartResultArray gtest_failures;\
        ::testing::internal::SingleFailureChecker gtest_checker(\
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  8. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-spi.h

    // catches that.
    //
    // For the same reason, we have to write
    //   if (::testing::internal::AlwaysTrue()) { statement; }
    // instead of
    //   GTEST_SUPPRESS_UNREACHABLE_CODE_WARNING_BELOW_(statement)
    // to avoid an MSVC warning on unreachable code.
    #define EXPECT_NONFATAL_FAILURE(statement, substr) \
      do {\
        ::testing::TestPartResultArray gtest_failures;\
        ::testing::internal::SingleFailureChecker gtest_checker(\
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest-message.h

    //   std::cout << foo;
    //
    // will print "1 != 2".
    //
    // Message is not intended to be inherited from.  In particular, its
    // destructor is not virtual.
    //
    // Note that stringstream behaves differently in gcc and in MSVC.  You
    // can stream a NULL char pointer to it in the former, but not in the
    // latter (it causes an access violation if you do).  The Message
    // class hides this difference by treating a NULL char pointer as
    // "(null)".
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest-message.h

    //   std::cout << foo;
    //
    // will print "1 != 2".
    //
    // Message is not intended to be inherited from.  In particular, its
    // destructor is not virtual.
    //
    // Note that stringstream behaves differently in gcc and in MSVC.  You
    // can stream a NULL char pointer to it in the former, but not in the
    // latter (it causes an access violation if you do).  The Message
    // class hides this difference by treating a NULL char pointer as
    // "(null)".
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 9K bytes
    - Viewed (0)
Back to top