File tree Expand file tree Collapse file tree
test_ports/vcpkg-ci-aurora-au Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1237,6 +1237,7 @@ vcpkg-ci-arrow:x64-windows-static=pass
12371237vcpkg-ci-arrow:x64-windows-static-md=pass
12381238vcpkg-ci-arrow:x64-osx=pass
12391239vcpkg-ci-arrow:x64-linux=pass
1240+ vcpkg-ci-aurora-au:x64-linux=pass
12401241vcpkg-ci-boost:arm-neon-android=pass
12411242vcpkg-ci-boost:arm64-android=pass
12421243vcpkg-ci-boost:arm64-uwp=pass
Original file line number Diff line number Diff line change 1+ SET (VCPKG_POLICY_EMPTY_PACKAGE enabled)
2+
3+ vcpkg_find_acquire_program (PKGCONFIG )
4+
5+ vcpkg_cmake_configure (
6+ SOURCE_PATH "${CURRENT_PORT_DIR} /project"
7+ OPTIONS
8+ "-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG} "
9+ )
10+ vcpkg_cmake_build ()
Original file line number Diff line number Diff line change 1+ cmake_minimum_required (VERSION 3.29 )
2+
3+ project (vcpkg-ci-aurora-au LANGUAGES CXX )
4+
5+ find_package (Au CONFIG REQUIRED )
6+
7+ add_executable (test_au_client test_au_client.cc )
8+ target_link_libraries (test_au_client PRIVATE Au::au )
9+ target_compile_features (test_au_client PRIVATE cxx_std_14 )
Original file line number Diff line number Diff line change 1+ #include < iostream>
2+
3+ #include " au/au.hh"
4+ #include " au/constants/speed_of_light.hh"
5+ #include " au/io.hh"
6+ #include " au/units/meters.hh"
7+ #include " au/units/seconds.hh"
8+
9+ using ::au::SPEED_OF_LIGHT;
10+ using ::au::symbols::m;
11+ using ::au::symbols::s;
12+
13+ int main (int argc, char **argv) {
14+ std::cout << " Speed of light in m/s: " << SPEED_OF_LIGHT.as <int >(m / s)
15+ << std::endl;
16+ return 0 ;
17+ }
Original file line number Diff line number Diff line change 1+ {
2+ "name" : " vcpkg-ci-aurora-au" ,
3+ "version-string" : " ci" ,
4+ "description" : " Validates aurora-au" ,
5+ "dependencies" : [
6+ " aurora-au" ,
7+ {
8+ "name" : " vcpkg-cmake" ,
9+ "host" : true
10+ }
11+ ]
12+ }
You can’t perform that action at this time.
0 commit comments