-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a88e6e9
commit 41bd2c0
Showing
9 changed files
with
28 additions
and
50 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,16 @@ | ||
|
||
cmake_minimum_required(VERSION 3.1) | ||
project(TEST) | ||
project(async_serial) | ||
|
||
## Target | ||
set(CMAKE_CXX_STANDARD 11) | ||
set(TEST_SRCS main.cpp AsyncSerial.cpp BufferedAsyncSerial.cpp) | ||
add_executable(async ${TEST_SRCS}) | ||
|
||
include_directories(include/) | ||
|
||
add_library(${PROJECT_NAME} STATIC src/AsyncSerial.cpp src/BufferedAsyncSerial.cpp) | ||
|
||
## Link libraries | ||
set(BOOST_LIBS date_time system) | ||
find_package(Boost COMPONENTS ${BOOST_LIBS} REQUIRED) | ||
target_link_libraries(async ${Boost_LIBRARIES}) | ||
target_link_libraries(${PROJECT_NAME} ${Boost_LIBRARIES}) | ||
find_package(Threads REQUIRED) | ||
target_link_libraries(async ${CMAKE_THREAD_LIBS_INIT}) | ||
target_link_libraries(${PROJECT_NAME} ${CMAKE_THREAD_LIBS_INIT}) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
# PROBABLY BROKEN | ||
|
||
#Using MinGW distro from http://nuwen.net/mingw.html that contains boost precompiled | ||
|
||
all: | ||
|
File renamed without changes.
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
This file was deleted.
Oops, something went wrong.
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
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