From 568366f4b5329d204f5b7085fd9d714f949efa16 Mon Sep 17 00:00:00 2001 From: Vasily Pisar Date: Mon, 1 Aug 2016 16:35:22 +0300 Subject: [PATCH] CPP-7222 Show custom CMake configurations - custom CMake configurations supported in CMake console --- .../execution/process/ProcessOutputTypes.java | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/platform/util/src/com/intellij/execution/process/ProcessOutputTypes.java b/platform/util/src/com/intellij/execution/process/ProcessOutputTypes.java index a723f55ccc26..fba4efa530f9 100644 --- a/platform/util/src/com/intellij/execution/process/ProcessOutputTypes.java +++ b/platform/util/src/com/intellij/execution/process/ProcessOutputTypes.java @@ -16,9 +16,18 @@ package com.intellij.execution.process; import com.intellij.openapi.util.Key; +import com.intellij.util.containers.ContainerUtil; + +import java.util.Set; public interface ProcessOutputTypes { - Key SYSTEM = new Key("system"); - Key STDOUT = new Key("stdout"); - Key STDERR = new Key("stderr"); + String SYSTEM_STRING = "system"; + String STDOUT_STRING = "stdout"; + String STDERR_STRING = "stderr"; + + Key SYSTEM = new Key(SYSTEM_STRING); + Key STDOUT = new Key(STDOUT_STRING); + Key STDERR = new Key(STDERR_STRING); + + Set TYPES = ContainerUtil.newHashSet(SYSTEM, STDOUT, STDERR); }