Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LimaGroup
Lima-camera-simulator
Commits
9a00d61b
Commit
9a00d61b
authored
Mar 29, 2022
by
Samuel Debionne
Browse files
Use Ninja for building on all platforms
parent
af130807
Changes
3
Hide whitespace changes
Inline
Side-by-side
conda/camera/bld.bat
View file @
9a00d61b
cmake
-Bbuild -H
.
-G
"
%CMAKE_GENERATOR%
"
-DLIMA
_ENABLE_PYTHON
=
1
-DCAMERA
_ENABLE_TESTS
=
1
-DCMAKE
_INSTALL_PREFIX
=
%LIBRARY_PREFIX%
-DPYTHON
_SITE_PACKAGES_DIR
=
%SP_DIR%
-DCMAKE
_FIND_ROOT_PATH
=
%LIBRARY_PREFIX%
cmake
-Bbuild -H
.
-G
Ninja
-DLIMA
_ENABLE_PYTHON
=
1
-DCAMERA
_ENABLE_TESTS
=
1
-DCMAKE
_INSTALL_PREFIX
=
%LIBRARY_PREFIX%
-DPYTHON
_SITE_PACKAGES_DIR
=
%SP_DIR%
-DCMAKE
_FIND_ROOT_PATH
=
%LIBRARY_PREFIX%
IF
%ERRORLEVEL%
NEQ
0
exit
/b
%ERRORLEVEL%
cmake
--build
build
--config
Release
--target
install
...
...
conda/camera/build.sh
View file @
9a00d61b
#!/bin/bash
cmake
-Bbuild
-H
.
-DLIMA_ENABLE_PYTHON
=
1
-DCAMERA_ENABLE_TESTS
=
1
-DCMAKE_INSTALL_PREFIX
=
$PREFIX
-DPYTHON_SITE_PACKAGES_DIR
=
$SP_DIR
-DCMAKE_FIND_ROOT_PATH
=
$PREFIX
cmake
-Bbuild
-H
.
-GNinja
-DLIMA_ENABLE_PYTHON
=
1
-DCAMERA_ENABLE_TESTS
=
1
-DCMAKE_INSTALL_PREFIX
=
$PREFIX
-DPYTHON_SITE_PACKAGES_DIR
=
$SP_DIR
-DCMAKE_FIND_ROOT_PATH
=
$PREFIX
cmake
--build
build
--target
install
conda/camera/meta.yaml
View file @
9a00d61b
...
...
@@ -16,6 +16,7 @@ requirements:
-
sip 4.19*
# API v12.7
-
lima-core
build
:
-
ninja
-
cmake
-
{{
compiler('cxx')
}}
run
:
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment