Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
trex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
swp21_biotracker
trex
Commits
fb469df8
Commit
fb469df8
authored
4 years ago
by
Tristan Walter
Browse files
Options
Downloads
Patches
Plain Diff
trex build windows
parent
2e431d98
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Application/trex_build_windows.bat
+27
-0
27 additions, 0 deletions
Application/trex_build_windows.bat
with
27 additions
and
0 deletions
Application/trex_build_windows.bat
0 → 100644
+
27
−
0
View file @
fb469df8
@setlocal
enableextensions
enabledelayedexpansion
@echo
off
for
/f
%%w
in
(
'python -c "from shutil import which; print(which(\"python\"))"'
)
do
set
var
=
%%w
echo
var
is
%var%
for
/f
%%w
in
(
'python -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())"'
)
do
set
pythoninclude
=
%%w
echo
pythoninclude
is
%pythoninclude%
for
/f
%%w
in
(
'python ../find_library.py'
)
do
set
findlib
=
%%w
echo
findlib
is
%findlib%
echo
Generator
%CMAKE_GENERATOR%
echo
Python
%PYTHON%
git
submodule
update
--recursive --init
cmake
..
-DWITH
_GITSHA1
=
ON
-DPYTHON
_INCLUDE_DIR:FILEPATH
=
%pythoninclude%
-DPYTHON
_LIBRARY:FILEPATH
=
%findlib%
-DPYTHON
_EXECUTABLE:FILEPATH
=
%var%
-DWITH
_PYLON
=
OFF
-DTREX
_BUILD_OPENCV
=
ON
-DCMAKE
_SKIP_RPATH
=
ON
-DTREX
_BUILD_PNG
=
ON
-DTREX
_BUILD_ZIP
=
ON
-DTREX
_CONDA_PACKAGE_INSTALL
=
ON
-DCMAKE
_INSTALL_RPATH_USE_LINK_PATH:BOOL
=
TRUE
-DTREX
_WITH_TESTS:BOOL
=
OFF
-DTREX
_BUILD_GLFW
=
ON
-DTREX
_BUILD_ZLIB
=
ON
cmake
--build
.
--target
Z_LIB
--config
Release
cmake
--build
.
--target
libzip
--config
Release
cmake
--build
.
--target
libpng_custom
--config
Release
cmake
--build
.
--target
CustomOpenCV
--config
Release
cmake
..
cmake
--build
.
--target
INSTALL
--config
Release
endlocal
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment