-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: can build on win, without pnp solver and calibration
- Loading branch information
gaopeng1
committed
Aug 25, 2023
1 parent
c42047f
commit d94a211
Showing
11 changed files
with
86 additions
and
62 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
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,15 @@ | ||
build ON windows | ||
|
||
# build on windows | ||
|
||
1. donwload toolchain | ||
https://github.com/brechtsanders/winlibs_mingw/releases/download/12.3.0-16.0.4-11.0.0-msvcrt-r1/winlibs-x86_64-posix-seh-gcc-12.3.0-llvm-16.0.4-mingw-w64msvcrt-11.0.0-r1.zip | ||
|
||
2. set system path | ||
|
||
3. build deps | ||
|
||
4. build xrprimer | ||
|
||
5. run test | ||
|
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,14 +1,15 @@ | ||
include(ExternalProject) | ||
|
||
externalproject_add( | ||
ext_jsoncpp | ||
PREFIX jsoncpp | ||
GIT_REPOSITORY https://github.com/open-source-parsers/jsoncpp.git | ||
GIT_TAG 5defb4ed1a4293b8e2bf641e16b156fb9de498cc # 1.9.5 | ||
CMAKE_ARGS ${ExternalProject_CMAKE_ARGS_hidden} | ||
-DJSONCPP_WITH_TESTS=OFF | ||
-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF | ||
-DJSONCPP_WITH_PKGCONFIG_SUPPORT=OFF | ||
-DBUILD_OBJECT_LIBS=OFF | ||
-DCMAKE_CXX_FLAGS="-fPIC" | ||
-DCMAKE_INSTALL_PREFIX=${STAGED_INSTALL_PREFIX}/jsoncpp | ||
-DJSONCPP_WITH_TESTS=OFF | ||
-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF | ||
-DJSONCPP_WITH_PKGCONFIG_SUPPORT=OFF | ||
-DBUILD_OBJECT_LIBS=OFF | ||
-DCMAKE_CXX_FLAGS="-fPIC" | ||
-DCMAKE_INSTALL_PREFIX=${STAGED_INSTALL_PREFIX}/jsoncpp | ||
) |
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
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