Skip to content

Commit

Permalink
Add CMakeLists.txt to support PAL Tools (#61)
Browse files Browse the repository at this point in the history
* Add CMakeLists.txt to support PAL Tools
  • Loading branch information
teetak01 authored and Tommi Käsmä committed Feb 16, 2017
1 parent 24e16e7 commit af5f59c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions .yotta_ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/*CMakeLists.txt
17 changes: 17 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
INCLUDE(CMakeForceCompiler)

cmake_minimum_required (VERSION 2.8)
SET(CMAKE_SYSTEM_NAME Generic)

project(mbedTrace)


include_directories(${CMAKE_CURRENT_SOURCE_DIR}/mbed-trace/)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../nanostack-libservice/mbed-client-libservice/)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../nanostack-libservice/)

set (MBED_TRACE_SRC ${CMAKE_CURRENT_SOURCE_DIR}/source/mbed_trace.c)


CREATE_LIBRARY(mbedTrace "${MBED_TRACE_SRC}" "")

0 comments on commit af5f59c

Please # to comment.