rename:更改宏定义名称
This commit is contained in:
parent
732d503396
commit
35c1c4bb89
@ -13,8 +13,8 @@ if(DEFINED IOS_ISH)
|
||||
message(STATUS "filecomplete USE IOS_ISH")
|
||||
add_definitions(-DIOS_ISH)
|
||||
endif()
|
||||
if(DEFINED MINGW32_XP_BOOST)
|
||||
message(STATUS "filecomplete use mingw32 xp boost.")
|
||||
if(DEFINED USE_BOOST)
|
||||
message(STATUS "filecomplete use boost lib.")
|
||||
include_directories(${MBOOST_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
@ -34,7 +34,7 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/bin/${CMAKE_BUILD_TYPE}
|
||||
|
||||
add_library(filecomplete STATIC filecomplete.h filecomplete.cpp)
|
||||
target_include_directories(filecomplete PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
if(DEFINED MINGW32_XP_BOOST)
|
||||
if(DEFINED USE_BOOST)
|
||||
target_link_directories(filecomplete PRIVATE ${MBOOST_LIB_DIR})
|
||||
target_link_libraries(filecomplete PRIVATE ${MBOOST_LIBS})
|
||||
endif()
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#ifdef MINGW32_XP_BOOST
|
||||
#ifdef USE_BOOST
|
||||
#include <boost/filesystem.hpp>
|
||||
namespace fs = boost::filesystem;
|
||||
#else
|
||||
@ -838,4 +838,3 @@ void color_print(const char* text, const COLOR_TYPE color)
|
||||
#endif
|
||||
fc_unlock_print();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user