-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Final request-response polish (#367)
Co-authored-by: Bret Ambrose <[email protected]>
- Loading branch information
1 parent
2eccff7
commit 770666f
Showing
40 changed files
with
17,049 additions
and
1,108 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 |
---|---|---|
@@ -0,0 +1,29 @@ | ||
project(elastishadow C) | ||
|
||
list(APPEND CMAKE_MODULE_PATH "${CMAKE_INSTALL_PREFIX}/lib/cmake") | ||
|
||
file(GLOB ELASTISHADOW_SRC | ||
"*.c" | ||
) | ||
|
||
set(ELASTISHADOW_PROJECT_NAME elastishadow) | ||
add_executable(${ELASTISHADOW_PROJECT_NAME} ${ELASTISHADOW_SRC}) | ||
aws_set_common_properties(${ELASTISHADOW_PROJECT_NAME}) | ||
|
||
|
||
target_include_directories(${ELASTISHADOW_PROJECT_NAME} PUBLIC | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> | ||
$<INSTALL_INTERFACE:include>) | ||
|
||
target_link_libraries(${ELASTISHADOW_PROJECT_NAME} PRIVATE aws-c-mqtt) | ||
|
||
if (BUILD_SHARED_LIBS AND NOT WIN32) | ||
message(INFO " elastishadow will be built with shared libs, but you may need to set LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib to run the application") | ||
endif() | ||
|
||
install(TARGETS ${ELASTISHADOW_PROJECT_NAME} | ||
EXPORT ${ELASTISHADOW_PROJECT_NAME}-targets | ||
COMPONENT Runtime | ||
RUNTIME | ||
DESTINATION bin | ||
COMPONENT Runtime) |
Oops, something went wrong.