Last active
April 18, 2017 00:03
-
-
Save ratanparai/97bbe1c5a7fab813b2fdfbb73cbf5a50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Specify minimum version of CMake required to compile the code | |
cmake_minimum_required(VERSION 3.5) | |
# Project name | |
project(hello_world) | |
# Set source files | |
set(SOURCE_FILES hello.c) | |
# Set the name of the executable file name after CMake compile | |
# the code | |
add_executable(hello ${SOURCE_FILES}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment