mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-15 20:46:37 +08:00
Tests/IncludeDirectories: Include system headers via angle brackets
This is typically how projects include them, and cl's `-external:{I,W}` flags suppress warnings only when included through angle brackets.
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
|
|
||||||
#include "config_iface.h"
|
#include <config_iface.h>
|
||||||
|
|
||||||
#include "upstream.h"
|
#include "upstream.h"
|
||||||
|
|
||||||
int consumer()
|
int consumer()
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
#include "systemlib.h"
|
#include <systemlib.h>
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
#ifndef UPSTREAM_H
|
#ifndef UPSTREAM_H
|
||||||
#define UPSTREAM_H
|
#define UPSTREAM_H
|
||||||
|
|
||||||
#include "systemlib.h"
|
#include <systemlib.h>
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
__declspec(dllexport)
|
__declspec(dllexport)
|
||||||
|
Reference in New Issue
Block a user