Commit 6931b1a0 authored by Andreas Amann's avatar Andreas Amann
Browse files

try with two executables

parent 6da2d6e7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
.vs/
build/
CMakeSettings.json
+3 −2
Original line number Diff line number Diff line
cmake_minimum_required(VERSION 4.1)
cmake_minimum_required(VERSION 3.1)

project(cmake_hello)

add_executable(app main.cpp)
add_executable(main main.cpp)
add_executable(main2 main2.cpp)
+1 −1
Original line number Diff line number Diff line
#include <iostream>

int main(){
    std::cout << "Hello there\n";
    std::cout << "Hello there from main!\n";
}

main2.cpp

0 → 100644
+6 −0
Original line number Diff line number Diff line
#include <iostream>

int main(){
    std::cout << "Hello there from main2\n";
}