Initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
cmake_minimum_required (VERSION 2.6)
|
||||
project (myapp)
|
||||
# The version number.
|
||||
set (myapp_VERSION_MAJOR 1)
|
||||
set (myapp_VERSION_MINOR 0)
|
||||
|
||||
# add the executable
|
||||
add_executable (myapp myapp.c)
|
||||
|
||||
install(TARGETS myapp
|
||||
RUNTIME DESTINATION bin)
|
||||
@@ -0,0 +1,9 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int
|
||||
main(int argc, char *argv[])
|
||||
{
|
||||
printf("Hello world\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user