patch 4.0
This commit is contained in:
@ -1,8 +1,3 @@
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
${DEP_DIR}/include
|
||||
${CMAKE_SOURCE_DIR}/deps/oblib/src
|
||||
)
|
||||
add_definitions(-D__ERROR_CODE_PARSER_)
|
||||
set(SRC_LIST ob_error.cpp os_errno.cpp ${CMAKE_SOURCE_DIR}/src/share/ob_errno.cpp)
|
||||
|
||||
@ -10,4 +5,7 @@ add_executable(ob_error ${SRC_LIST})
|
||||
|
||||
add_library(oberror SHARED ${SRC_LIST})
|
||||
|
||||
# message(STATUS "DIR = " ${CMAKE_SOURCE_DIR})
|
||||
include_directories(
|
||||
${CMAKE_SOURCE_DIR}/src
|
||||
${CMAKE_SOURCE_DIR}/deps/oblib/src
|
||||
)
|
||||
|
||||
@ -10,8 +10,6 @@
|
||||
* See the Mulan PubL v2 for more details.
|
||||
*/
|
||||
|
||||
// DO NOT EDIT. This file is automatically generated from `ob_errno.def'.
|
||||
|
||||
#include "os_errno.h"
|
||||
#include <string.h>
|
||||
#include <cstdio>
|
||||
|
||||
@ -10,7 +10,6 @@
|
||||
* See the Mulan PubL v2 for more details.
|
||||
*/
|
||||
|
||||
// DO NOT EDIT. This file is automatically generated from `ob_errno.def'.
|
||||
#ifndef OBERROR_OS_ERRNO_H
|
||||
#define OBERROR_OS_ERRNO_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user