Skip to content

Commit

Permalink
update cmake build files
Browse files Browse the repository at this point in the history
  • Loading branch information
silvadom committed Oct 16, 2024
1 parent ef35d70 commit ddd2c88
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 2 additions & 2 deletions samples/sources/processors/processor.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ macro( add_processor_module name)

if(WIN32)
set(LIBRARY_DIRS ${APP_DIR}/lib/win64 ${APP_DIR}/bin)
SET(LIBS g3log jsoncpp arrow arrow_dataset arrow_acero)
SET(LIBS stelgic.lib g3log jsoncpp arrow arrow_dataset arrow_acero)
elseif(UNIX)
set(LIBRARY_DIRS ${APP_DIR}/lib/unix ${APP_DIR}/bin)
SET(LIBS m stdc++ stelgic g3log arrow arrow_dataset jsoncpp dl uuid)
SET(LIBS m stdc++ stelgic g3log arrow arrow_dataset arrow_acero jsoncpp dl uuid)
endif()

file(GLOB TARGET_SRC
Expand Down
8 changes: 8 additions & 0 deletions samples/sources/strategies/strategy.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ macro( add_strategy_module name)
${APP_DIR}/include/third_party/stduuid/include
)

if(WIN32)
set(LIBRARY_DIRS ${APP_DIR}/lib/win64 ${APP_DIR}/bin)
SET(LIBS stelgic.lib g3log jsoncpp arrow arrow_dataset arrow_acero)
elseif(UNIX)
set(LIBRARY_DIRS ${APP_DIR}/lib/unix ${APP_DIR}/bin)
SET(LIBS m stdc++ stelgic.a g3log jsoncpp arrow arrow_dataset arrow_acero pthread dl uuid)
endif()

file(GLOB TARGET_SRC
${CMAKE_CURRENT_SOURCE_DIR}/${name}/*.h
${CMAKE_CURRENT_SOURCE_DIR}/${name}/*.cpp
Expand Down
2 changes: 1 addition & 1 deletion samples/sources/tests/modules/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ set(INCLUDE_DIRS

if(WIN32)
set(LIBRARY_DIRS ${APP_DIR}/lib/win64 ${APP_DIR}/bin)
SET(LIBS stelgic g3log cpr arrow arrow_dataset jsoncpp)
SET(LIBS stelgic g3log arrow arrow_dataset jsoncpp)
elseif(UNIX)
set(LIBRARY_DIRS ${APP_DIR}/lib/unix ${APP_DIR}/bin)
SET(LIBS m stdc++ stelgic g3log curl cpr ssl crypto jsoncpp dl uuid)
Expand Down

0 comments on commit ddd2c88

Please sign in to comment.