project(hello_world C)
cmake_minimum_required(VERSION 2.8.10.2)

option(BUILD_SHARED_LIBS "Build shared libraries" ON)

add_library(hello_world hello_world.c)

add_executable(test_hello_world test_hello_world.c)
target_link_libraries(test_hello_world hello_world)

set_property(TARGET test_hello_world PROPERTY OUTPUT_NAME "hello_world")
