forked from PaddlePaddle/VisualDL
-
Notifications
You must be signed in to change notification settings - Fork 0
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
f7d55bc
commit ae821e5
Showing
12 changed files
with
23 additions
and
16 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
add_library(im ${PROJECT_SOURCE_DIR}/visualdl/logic/im.cc) | ||
add_library(sdk ${PROJECT_SOURCE_DIR}/visualdl/logic/sdk.cc ${PROJECT_SOURCE_DIR}/visualdl/utils/image.h) | ||
add_dependencies(im storage_proto) | ||
add_dependencies(sdk entry storage storage_proto) | ||
add_dependencies(sdk entry storage storage_proto eigen3) | ||
|
||
## pybind | ||
add_library(core SHARED ${PROJECT_SOURCE_DIR}/visualdl/logic/pybind.cc) | ||
add_dependencies(core pybind python im entry tablet storage sdk protobuf glog eigen3) | ||
target_link_libraries(core PRIVATE pybind entry python im tablet storage sdk protobuf glog) | ||
if (NOT ON_RELEASE) | ||
add_dependencies(core pybind python im entry tablet storage sdk protobuf glog eigen3) | ||
target_link_libraries(core PRIVATE pybind entry python im tablet storage sdk protobuf glog) | ||
else() | ||
add_dependencies(core pybind python im entry tablet storage sdk protobuf eigen3) | ||
target_link_libraries(core PRIVATE pybind entry python im tablet storage sdk protobuf) | ||
endif() | ||
set_target_properties(core PROPERTIES PREFIX "" SUFFIX ".so") |
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,4 +1,4 @@ | ||
#include <glog/logging.h> | ||
#include "visualdl/utils/logging.h" | ||
#include <ctime> | ||
|
||
#include "visualdl/logic/im.h" | ||
|
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
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
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