Skip to content

Commit d19710b

Browse files
authored
hello-iot-world: update C++ compiler name throughout (oneapi-src#116)
Signed-off-by: Mihai Tudor Panu <[email protected]>
1 parent 76da72c commit d19710b

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

Tools/IoTConnectionTools/hello-iot-world/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
cmake_minimum_required (VERSION 3.0)
22
project (HELLO-IOT-WORLD CXX)
33

4-
# Use the Intel C++ Compiler when available
4+
# Use Intel C++ Compiler Classic when available
55
find_program(ICPC NAMES icpc icl)
66
if(ICPC)
77
set(CMAKE_CXX_COMPILER ${ICPC})
8-
message(STATUS "Switching to the Intel(R) C++ Compiler from: ${ICPC}")
8+
message(STATUS "Switching to the Intel(R) C++ Compiler Classic from: ${ICPC}")
99
else()
10-
message("-- Could not find the Intel(R) C++ Compiler on the system path. Did you setup the compiler environment?")
10+
message("-- Could not find the Intel(R) C++ Compiler Classic on the system path. Did you setup the compiler environment?")
1111
endif()
1212

1313
# Set default build type to RelWithDebInfo if not specified

Tools/IoTConnectionTools/hello-iot-world/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ This project outputs the classic "Hello World" message along with the compiler i
1010
Any Intel® CPU
1111

1212
## Software requirements
13-
Intel® C++ Compiler
13+
Intel® C++ Compiler Classic
1414

1515
## How to build and run
1616
### Linux CLI
@@ -43,7 +43,7 @@ nmake run
4343
### IDE
4444
Use the Samples Plugin for Eclipse or Visual Studio to create and run the sample.
4545

46-
You may need to source the `setvars` script distributed with oneAPI before launching the IDE to use the Intel® C++ Compiler or make it available as a toolchain in the IDE.
46+
You may need to source the `setvars` script distributed with oneAPI before launching the IDE to use the Intel® C++ Compiler Classic or make it available as a toolchain in the IDE.
4747

4848
### Additional Links
4949
Access the Getting Started Guides with the following links:

Tools/IoTConnectionTools/hello-iot-world/cpp/hello-iot-world.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ using namespace std;
1212
int main() {
1313
cout << "Hello, Internet of Things World!" << endl;
1414
#ifdef __INTEL_COMPILER
15-
cout << "The Intel(R) C++ Compiler was used for compiling this sample."
15+
cout << "The Intel(R) C++ Compiler Classic was used for compiling this sample."
1616
<< endl;
1717
#else
18-
cout << "The Intel(R) C++ Compiler was not used for compiling this sample."
18+
cout << "The Intel(R) C++ Compiler Classic was not used for compiling this sample."
1919
<< endl;
2020
#endif
2121
return 0;

Tools/IoTConnectionTools/hello-iot-world/sample.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"guid": "8EBFB820-A80C-4CC5-97DB-09B6161DDE1F",
33
"name": "Hello IoT World",
4-
"categories": ["Toolkit/Intel® oneAPI IoT Toolkit/Intel® C++ Compiler"],
4+
"categories": ["Toolkit/Intel® oneAPI IoT Toolkit/Intel® C++ Compiler Classic"],
55
"description": "This is a basic sample that outputs the classic 'Hello World' message along with the compiler identification string.",
66
"os": ["linux", "windows"],
77
"toolchain": ["icc", "gcc"],

0 commit comments

Comments
 (0)