-
Notifications
You must be signed in to change notification settings - Fork 8
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
014bab7
commit 1529c82
Showing
7 changed files
with
531 additions
and
0 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 +1,8 @@ | ||
set(JSON_INCLUDE_DIRS | ||
${CMAKE_SOURCE_DIR}/deps | ||
) | ||
|
||
add_subdirectory(deps/json-c) | ||
|
||
add_subdirectory(cmd/ot-sim-61850-module) | ||
add_subdirectory(cmd/ot-sim-message-bus) |
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,22 @@ | ||
find_package(LibXml2 REQUIRED) | ||
|
||
include_directories( | ||
${JSON_INCLUDE_DIRS} | ||
${LIBXML2_INCLUDE_DIR} | ||
) | ||
|
||
add_executable(ot-sim-61850-module | ||
main.c | ||
) | ||
|
||
target_link_libraries(ot-sim-61850-module | ||
czmq | ||
${LIBXML2_LIBRARIES} | ||
json-c | ||
pthread | ||
zmq | ||
) | ||
|
||
install(TARGETS ot-sim-61850-module | ||
RUNTIME DESTINATION bin | ||
) |
Oops, something went wrong.