fix(*): win sln config.

This commit is contained in:
TinyO 2019-11-01 15:37:57 +08:00
parent 0216fb4128
commit 1e49fc6c19

View File

@ -242,42 +242,46 @@ if(WITH_API)
endif()
endif()
## device_writer
if(OS_WIN)
else()
## device_writer
add_library(device_writer STATIC device_writer.cc)
target_link_libraries(device_writer mynteye ${OpenCV_LIBS})
add_library(device_writer STATIC device_writer.cc)
target_link_libraries(device_writer mynteye ${OpenCV_LIBS})
## device_info_writer
## device_info_writer
make_executable(write_device_info
make_executable(write_device_info
SRCS write_device_info.cc
LINK_LIBS device_writer
DLL_SEARCH_PATHS ${PRO_DIR}/_install/bin ${OpenCV_LIB_SEARCH_PATH}
)
)
## img_params_writer
## img_params_writer
make_executable(write_img_params
make_executable(write_img_params
SRCS write_img_params.cc
LINK_LIBS device_writer
DLL_SEARCH_PATHS ${PRO_DIR}/_install/bin ${OpenCV_LIB_SEARCH_PATH}
)
)
## imu_params_writer
## imu_params_writer
make_executable(write_imu_params
make_executable(write_imu_params
SRCS write_imu_params.cc
LINK_LIBS device_writer
DLL_SEARCH_PATHS ${PRO_DIR}/_install/bin ${OpenCV_LIB_SEARCH_PATH}
)
)
## save_all_infos
## save_all_infos
make_executable(save_all_infos
make_executable(save_all_infos
SRCS save_all_infos.cc
LINK_LIBS device_writer
DLL_SEARCH_PATHS ${PRO_DIR}/_install/bin ${OpenCV_LIB_SEARCH_PATH}
)
)
endif()
## record