5 Commits

Author SHA1 Message Date
Kai Pastor
47633daa65
[vcpkg-scripts] Catch use of ambiguous cmake vars (#34546)
Avoid wrong use of popular but ambiguous variables (`WIN32` etc.) in
scripts and portfiles by detection in CI.

Sometimes the variables are used wrongly, and sometimes this isn't
caught in PR review. This PR tries to catch those variables (when in the
active code path in script mode). [This can happen to every
contributor](https://github.com/microsoft/vcpkg/pull/34356#discussion_r1360074122),
even if he/she knows the rules ... vcpkg is raising the bar higher than
usual, having to deal with targets and hosts even in script mode.

(`b2-options.cmake` (boost fragment) shows where we get if we don't pay
attention: the same code being used in script mode (`WIN32` meaning
host) and in project mode (`WIN32` meaning target).)

The new check doesn't break any user builds because it relies on command
line options. However it changes the ABI hashes.
2024-06-14 11:40:01 -07:00
Fabien Péan
4c5be28bfa
[simbody] set uniform target names and add usage (#28863) 2023-01-12 15:28:56 -08:00
Thomas1664
0544d18e3b
[simbody] Disable docs (#24159)
* [simbody] Disable docs

* license

* Remove docs

* version
2022-04-18 16:43:22 -07:00
autoantwort
964e75806b
[simbody] no absolute paths (#22420) 2022-01-10 13:18:05 -08:00
Akash
4bd3a11e79
[simbody] new port (#20565)
* Add simbody port

* Use newer vcpkg functions

* Fix cmake config path for unix

* Use patch file instead

* Fix tools path for unix

* Hard-code tools path

* Add freeglut dep

* Link to GLUT::GLUT

* Don't build visualization

* Fix static

* Fix static

* Update versions

* Fail for uwp

* Update baseline

* Apply suggestions from code review

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>

* Add !uwp to vcpkg.json

* Fix static

* Test simbody PR on CI

* Try new ref

* Fix hash

* Fix osx

* Fix

* Update ref after upstream merge

* Update ports/simbody/portfile.cmake

Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com>

* Update version

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Co-authored-by: LilyWangLL <94091114+LilyWangLL@users.noreply.github.com>
2022-01-05 18:21:10 -08:00