mirror of
https://github.com/storytold/storyteller-ml.git
synced 2026-10-16 00:13:07 +00:00
Add MocapNET
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
project( helloWorld )
|
||||
cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
|
||||
|
||||
#-----------------------------------------------
|
||||
# This is the converter utilities..
|
||||
#-----------------------------------------------
|
||||
project( helloWorld )
|
||||
add_executable(helloWorld main.cpp)
|
||||
target_link_libraries(helloWorld rt dl m )
|
||||
set_target_properties(helloWorld PROPERTIES DEBUG_POSTFIX "D")
|
||||
set_target_properties(helloWorld PROPERTIES
|
||||
ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
RUNTIME_OUTPUT_DIRECTORY "${CMAKE_SOURCE_DIR}"
|
||||
)
|
||||
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
int main() {
|
||||
std::cout << "\n\n\n\n\n\nHello World!\n";
|
||||
std::cout << "Congrats, If you can read this you can compile C++ code using CMake..!\n\n\n\n\n";
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
cd "$DIR"
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake ..
|
||||
make
|
||||
|
||||
cd "$DIR"
|
||||
./helloWorld
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user