Skip to content

Commit

Permalink
Changed a few more glscopeclient references to ngscopeclient, stop bu…
Browse files Browse the repository at this point in the history
…ilding/linking to scopeexports as it's deprecated
  • Loading branch information
azonenberg committed Dec 6, 2023
1 parent 43c2478 commit c5ba614
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
8 changes: 2 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.16)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
project(glscopeclient)
project(ngscopeclient)

include(CTest)

Expand Down Expand Up @@ -98,7 +98,7 @@ endif()

# Configure and enable OpenMP
if(NOT OpenMP_CXX_FOUND)
message(FATAL_ERROR "glscopeclient requires OpenMP but your C++ compiler does not appear to support it.")
message(FATAL_ERROR "ngscopeclient requires OpenMP but your C++ compiler does not appear to support it.")
endif()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")

Expand Down Expand Up @@ -136,13 +136,10 @@ if(ANALYZE)
endif()

# Main project code
#add_subdirectory("${PROJECT_SOURCE_DIR}/lib/graphwidget")
add_subdirectory("${PROJECT_SOURCE_DIR}/lib/scopeexports")
add_subdirectory("${PROJECT_SOURCE_DIR}/lib/scopehal")
add_subdirectory("${PROJECT_SOURCE_DIR}/lib/scopeprotocols")
add_subdirectory("${PROJECT_SOURCE_DIR}/lib/xptools")
add_subdirectory("${PROJECT_SOURCE_DIR}/lib/log")
#add_subdirectory("${PROJECT_SOURCE_DIR}/src/glscopeclient")
add_subdirectory("${PROJECT_SOURCE_DIR}/src/ngscopeclient")
add_subdirectory("${PROJECT_SOURCE_DIR}/src/nativefiledialog-extended")

Expand Down Expand Up @@ -170,4 +167,3 @@ set_property(TARGET scopehal PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET log PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET xptools PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET scopeprotocols PROPERTY POSITION_INDEPENDENT_CODE ON)
set_property(TARGET scopeexports PROPERTY POSITION_INDEPENDENT_CODE ON)
2 changes: 1 addition & 1 deletion lib
2 changes: 0 additions & 2 deletions src/ngscopeclient/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ endif()
target_link_libraries(ngscopeclient
scopehal
scopeprotocols
scopeexports
nfd
glfw
PNG::PNG
Expand Down Expand Up @@ -251,7 +250,6 @@ if(WIXPATH AND WIN32)
COMMAND ${CMAKE_COMMAND} -E copy
${CMAKE_SOURCE_DIR}/src/LICENSE
${CMAKE_BINARY_DIR}/lib/log/liblog.dll
${CMAKE_BINARY_DIR}/lib/scopeexports/libscopeexports.dll
${CMAKE_BINARY_DIR}/lib/scopehal/libscopehal.dll
${CMAKE_BINARY_DIR}/lib/scopeprotocols/libscopeprotocols.dll
${CMAKE_BINARY_DIR}/src/ngscopeclient/ngscopeclient.exe
Expand Down

0 comments on commit c5ba614

Please sign in to comment.