File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -135,6 +135,11 @@ if(USE_CONAN AND CONAN_TOOLCHAIN_FOUND)
135135 list (APPEND CONAN_LIBS RxCpp::RxCpp)
136136 message (STATUS "Found rxcpp from Conan" )
137137 endif ()
138+ # Add openssl explicitly to ensure headers are available
139+ if (TARGET openssl::openssl)
140+ list (APPEND CONAN_LIBS openssl::openssl)
141+ message (STATUS "Found openssl from Conan" )
142+ endif ()
138143 else ()
139144 message (FATAL_ERROR "Required Conan packages not found as targets" )
140145 if (NOT TARGET fmt::fmt)
Original file line number Diff line number Diff line change @@ -15,14 +15,26 @@ cd "%BUILD_DIR%"
1515REM Install dependencies with Conan if not already done
1616if not exist " conan_toolchain.cmake" if not exist " generators\conan_toolchain.cmake" (
1717 echo Installing dependencies with Conan...
18- conan install .. --build=missing --output-folder=. -s build_type=%BUILD_TYPE%
18+ conan install .. --build=missing --output-folder=. -s build_type=%BUILD_TYPE% -s compiler.cppstd=20
19+ if errorlevel 1 (
20+ echo ERROR: Conan install failed
21+ exit /b 1
22+ )
1923)
2024
2125REM Configure
2226cmake .. -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -DCMAKE_CXX_STANDARD=20
27+ if errorlevel 1 (
28+ echo ERROR: CMake configuration failed
29+ exit /b 1
30+ )
2331
2432REM Build
2533cmake --build . --config %BUILD_TYPE%
34+ if errorlevel 1 (
35+ echo ERROR: CMake build failed
36+ exit /b 1
37+ )
2638
2739echo Build complete! Binaries are in %BUILD_DIR% \bin\Release
2840
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ cd /d %~dp0\..
55
66echo Starting InfluxDB with docker-compose...
77docker-compose up -d
8+ if errorlevel 1 (
9+ echo ERROR: Failed to start InfluxDB
10+ exit /b 1
11+ )
812
913echo Waiting for InfluxDB to be ready...
1014timeout /t 5 /nobreak > nul
Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ cd /d %~dp0\..
55
66echo Stopping InfluxDB...
77docker-compose down
8+ if errorlevel 1 (
9+ echo WARNING: Failed to stop InfluxDB properly
10+ exit /b 1
11+ )
812
913echo InfluxDB stopped.
1014
You can’t perform that action at this time.
0 commit comments