-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[update][框架优化]完成基于lidar sdk的windows应用示例开发与测试,并对现框架源码进行通用化优化
- Loading branch information
1 parent
5eab49e
commit 9b5e122
Showing
14 changed files
with
1,049 additions
and
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
*.json | ||
build/** | ||
src/test_sys/build/** | ||
sample/windows/build/** |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
cmake_minimum_required(VERSION 3.5) | ||
|
||
project (ldlidar_driver_win LANGUAGES CXX) | ||
|
||
include_directories( | ||
${PROJECT_SOURCE_DIR}/ | ||
${PROJECT_SOURCE_DIR}/../../include | ||
) | ||
|
||
add_executable(demo | ||
${PROJECT_SOURCE_DIR}/windemo.cpp | ||
${PROJECT_SOURCE_DIR}/ldlidar_driver_win.cpp | ||
${PROJECT_SOURCE_DIR}/commport.cpp | ||
${PROJECT_SOURCE_DIR}/../../src/ldlidar_driver/lipkg.cpp | ||
${PROJECT_SOURCE_DIR}/../../src/ldlidar_driver/log_module.cpp | ||
${PROJECT_SOURCE_DIR}/../../src/ldlidar_driver/sl_transform.cpp | ||
${PROJECT_SOURCE_DIR}/../../src/ldlidar_driver/slbf.cpp | ||
${PROJECT_SOURCE_DIR}/../../src/ldlidar_driver/tofbf.cpp | ||
) | ||
target_compile_features(demo PUBLIC cxx_std_11) |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# 使用CMake生成visual studio C++ 工程 | ||
> 前提条件,PC上需要提前安装有visual studio IDE 和 CMake Tool。 | ||
## 方法一:命令行方式 | ||
- 在`sample/windows`目录下打开powershell终端,以创建`Visual Studio 15 2017 Win64`环境下的C++工程为例,运行如下命令。 | ||
```ps1 | ||
mkdir build | ||
cd build | ||
cmake -G "Visual Studio 15 2017 Win64" ../ | ||
``` |
Oops, something went wrong.