Skip to content

Commit

Permalink
Updated to latest scopehal
Browse files Browse the repository at this point in the history
  • Loading branch information
azonenberg committed Aug 29, 2024
1 parent e5e6daa commit 0f48d10
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
2 changes: 1 addition & 1 deletion doc
Submodule doc updated 1 files
+7 −0 section-decodes.tex
21 changes: 6 additions & 15 deletions src/ngscopeclient/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,31 +142,22 @@ add_custom_target(
add_dependencies(nghalshaders
halshaders)

add_custom_target(
ngchannels
COMMENT "Copying channels..."
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/lib/scopehal/channels ${CMAKE_BINARY_DIR}/src/ngscopeclient/channels)

add_dependencies(ngscopeclient
ngfonts
ngicons
ngrendershaders
ngprotoshaders
nghalshaders
ngchannels
)

add_subdirectory(shaders)

# implot has a bunch of warnings, turn them off to avoid cluttering the build
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
set_source_files_properties(
../implot/implot.cpp
../implot/implot_demo.cpp
../implot/implot_items.cpp
PROPERTIES COMPILE_FLAGS -Wno-missing-declarations)
elseif (CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang")
set_source_files_properties(
../implot/implot.cpp
../implot/implot_demo.cpp
../implot/implot_items.cpp
PROPERTIES COMPILE_FLAGS -Wno-missing-declarations)
endif()

###############################################################################
#Set up include paths
target_include_directories(ngscopeclient
Expand Down

0 comments on commit 0f48d10

Please sign in to comment.