diff options
| author | 崔一鸣 <[email protected]> | 2018-08-12 20:05:02 +0800 |
|---|---|---|
| committer | 崔一鸣 <[email protected]> | 2018-08-13 09:47:36 +0800 |
| commit | 8b9360155b2637999211bb704540d83a3342af50 (patch) | |
| tree | e7e01613e88e2bf25240ba1003f6f32b949afed0 | |
| parent | eb64e2d346da49d88e80242a3c93875006116e77 (diff) | |
update .gitignore
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Makefile | 3 | ||||
| -rw-r--r-- | README.md | 6 | ||||
| -rwxr-xr-x | lib/libMESA_handle_logger.so | bin | 0 -> 3206888 bytes | |||
| -rw-r--r-- | src/Makefile | 3 |
5 files changed, 5 insertions, 8 deletions
@@ -0,0 +1 @@ +*.swap @@ -5,15 +5,12 @@ all: cd src && $(MAKE) - cd sample && $(MAKE) install: cd src && $(MAKE) install - cd sample && $(MAKE) install clean: cd src && $(MAKE) clean - cd sample && $(MAKE) clean opt: $(MAKE) all @@ -10,10 +10,8 @@ MESA_handle_logger_new是基于开源C++日志库[easylogging++](https://github. ```bash git clone https://git.mesalab.cn/leo/MESA_handle_logger_new cd MESA_handle_logger_new - //install到MESA_handle_logger_new/lib/下 - make && make install - //指定运行时链接的日志库为新的.so的目录 - export LD_LIBRARY_PATH="xxxx" + make && make install #install到lib/下 + export LD_LIBRARY_PATH="xxxx" #指定运行时链接的日志库为新的.so的目录 ``` #### 对外接口 * 获取日志句柄 diff --git a/lib/libMESA_handle_logger.so b/lib/libMESA_handle_logger.so Binary files differnew file mode 100755 index 0000000..3e63b92 --- /dev/null +++ b/lib/libMESA_handle_logger.so diff --git a/src/Makefile b/src/Makefile index b14affe..8ab61cb 100644 --- a/src/Makefile +++ b/src/Makefile @@ -22,6 +22,7 @@ clean : -rm $(TARGET) $(OBJECTS) $(DEPS) -rm -f $(TARGET_DIR)/* -install : +install : + mkdir $(TARGET_DIR) -cp $(TARGET) $(TARGET_DIR) -rm $(TARGET) $(OBJECTS) $(DEPS) |
