Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ENABLE_GREETING (0.1 sec)

  1. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/BinaryConfigurationIntegrationTest.groovy

            main(NativeExecutableSpec) {
                binaries.all {
                    cppCompiler.define 'ENABLE_GREETING'
                }
            }
        }
    }
    """
    
            and:
            file("src/main/cpp/helloworld.cpp") << """
                #include <iostream>
    
                int main () {
                  #ifdef ENABLE_GREETING
                  std::cout << "Hello!";
                  #endif
                  return 0;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 11.1K bytes
    - Viewed (0)
Back to top