Added root to include dirs.

This commit is contained in:
Francois Best 2016-10-03 20:17:49 -07:00
parent c600287129
commit a24d195f93
3 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,8 @@
cmake_minimum_required(VERSION 3.3.0)
project(arduino_midi_library)
set(ROOT_SOURCE_DIR ${PROJECT_SOURCE_DIR})
include_directories(${ROOT_SOURCE_DIR})
add_subdirectory(src)
add_subdirectory(test)

View File

@ -2,9 +2,14 @@
BEGIN_TEST_RUNNER_NAMESPACE
bool run()
{
return false;
}
END_TEST_RUNNER_NAMESPACE
int main()
{
return 0;
return TEST_RUNNER_NAMESPACE::run() ? 0 : 1;
}

View File

@ -5,3 +5,5 @@
BEGIN_TEST_RUNNER_NAMESPACE
END_TEST_RUNNER_NAMESPACE
int main();