Skip to content
Snippets Groups Projects
Commit 521f7e59 authored by Hueser, Christian's avatar Hueser, Christian
Browse files

Merge branch 'put-executable-into-bin-directory' into 'main'

Put executable into bin directory during build

See merge request hifis/software/education/gitlab-ci/exercise-project!4
parents 23b4768d a7d35685
No related branches found
No related tags found
1 merge request!4Put executable into bin directory during build
......@@ -5,7 +5,7 @@
cmake_minimum_required(VERSION 3.14)
project (helloWorld)
include_directories(${CMAKE_SOURCE_DIR})
add_subdirectory(src)
add_subdirectory(src bin)
# GoogleTest requires at least C++11
set(CMAKE_CXX_STANDARD 11)
......
......@@ -2,5 +2,4 @@
#
# SPDX-License-Identifier: MIT
set(SRCS main.cpp helloworld.cpp)
add_executable(helloWorld ${SRCS})
add_executable(helloWorld main.cpp helloworld.cpp)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment