How to run and see output after Visual Studio Solution file (.sln) has been built?

324 Views Asked by At

I am new to Visual Studio and CMake. I am trying to configure Insight Toolkit (ITK) in my laptop. I have done the following steps:

  1. Downloaded the ITK Source Code from the ITK repository.
  2. Configured and Generated Build files using CMake (Version 3.23.2)
  3. Built Visual Studio Solution files (Visual Studio 2019)

Now I want to run a Hello World code in C++ to check everything is configured correctly. For this, I have done the following:

  1. Created a folder named HelloWorld which contains two files

a. HelloWorld.cxx b. CMakeLists.txt

  1. Created another folder named HelloWorld_build, which contains CMake configuration files (executed from command prompt), and project build files (executed in Visual Studio).

Everything has run smoothly up to this point . The HelloWorld_build folder contains the HelloWorld.sln file. However, I am still not able to see the output. What is the step to see the output?

0

There are 0 best solutions below