Skip to content

Commit

Permalink
add profiler libs to all executable
Browse files Browse the repository at this point in the history
  • Loading branch information
VrajPandya authored and andrewseidl committed Sep 21, 2018
1 parent a67abd9 commit 6367683
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions Import/CMakeLists.txt
Expand Up @@ -20,9 +20,9 @@ add_custom_target(geo_samples ALL COMMAND ${CMAKE_COMMAND} -E copy_directory "${

add_library(RowToColumn RowToColumnLoader.cpp RowToColumnLoader.h)
add_executable(StreamImporter StreamImporter.cpp)
target_link_libraries(StreamImporter RowToColumn mapd_thrift Shared ${Glog_LIBRARIES} ${CMAKE_DL_LIBS} ${Boost_LIBRARIES})
target_link_libraries(StreamImporter RowToColumn mapd_thrift Shared ${Glog_LIBRARIES} ${CMAKE_DL_LIBS} ${Boost_LIBRARIES} ${PROFILER_LIBS})

add_executable(KafkaImporter KafkaImporter.cpp)
target_link_libraries(KafkaImporter RowToColumn mapd_thrift rdkafka++ Shared ${Glog_LIBRARIES} ${CMAKE_DL_LIBS} ${Boost_LIBRARIES})
target_link_libraries(KafkaImporter RowToColumn mapd_thrift rdkafka++ Shared ${Glog_LIBRARIES} ${CMAKE_DL_LIBS} ${Boost_LIBRARIES} ${PROFILER_LIBS})

install(TARGETS StreamImporter KafkaImporter DESTINATION bin)
2 changes: 1 addition & 1 deletion QueryEngine/CMakeLists.txt
Expand Up @@ -310,4 +310,4 @@ add_custom_command(
)

add_executable(group_by_hash_test ${group_by_hash_test_files})
target_link_libraries(group_by_hash_test gtest ${Glog_LIBRARIES} ${Boost_LIBRARIES})
target_link_libraries(group_by_hash_test gtest ${Glog_LIBRARIES} ${Boost_LIBRARIES} ${PROFILER_LIBS})
2 changes: 1 addition & 1 deletion SQLFrontend/CMakeLists.txt
@@ -1,6 +1,6 @@
find_package(Boost COMPONENTS program_options filesystem regex system REQUIRED QUIET)
add_executable(mapdql mapdql.cpp)

target_link_libraries(mapdql mapd_thrift Shared linenoise ${Boost_LIBRARIES} ${Glog_LIBRARIES} ${CMAKE_DL_LIBS})
target_link_libraries(mapdql mapd_thrift Shared linenoise ${Boost_LIBRARIES} ${Glog_LIBRARIES} ${CMAKE_DL_LIBS} ${PROFILER_LIBS})

install(TARGETS mapdql DESTINATION bin)
6 changes: 3 additions & 3 deletions SampleCode/CMakeLists.txt
Expand Up @@ -32,9 +32,9 @@ add_library(mapd_sample_thrift
${CMAKE_CURRENT_BINARY_DIR}/gen-cpp/completion_hints_types.cpp)
target_link_libraries(mapd_sample_thrift ${Thrift_LIBRARIES})

target_link_libraries(StreamInsertSimple mapd_sample_thrift ${Boost_LIBRARIES} ${CMAKE_DL_LIBS})
target_link_libraries(StreamInsert mapd_sample_thrift ${CMAKE_DL_LIBS} ${Boost_LIBRARIES})
target_link_libraries(DataGen mapd_sample_thrift ${CMAKE_DL_LIBS})
target_link_libraries(StreamInsertSimple mapd_sample_thrift ${Boost_LIBRARIES} ${CMAKE_DL_LIBS} ${PROFILER_LIBS})
target_link_libraries(StreamInsert mapd_sample_thrift ${CMAKE_DL_LIBS} ${Boost_LIBRARIES} ${PROFILER_LIBS})
target_link_libraries(DataGen mapd_sample_thrift ${CMAKE_DL_LIBS} ${PROFILER_LIBS})

install(TARGETS StreamInsertSimple StreamInsert DataGen DESTINATION SampleCode)
install(DIRECTORY . DESTINATION SampleCode)
Expand Down

0 comments on commit 6367683

Please sign in to comment.