Update Y210 preview and debug tooling
This commit is contained in:
+1
-7
@@ -18,14 +18,8 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin")
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
|
||||
|
||||
option(BUILD_GVFG_SAMPLES "Build GVFG customer samples" ON)
|
||||
option(GVFG_ENABLE_INTERNAL_DEBUG_API "Export internal GVFG diagnostic APIs" OFF)
|
||||
option(BUILD_GVFG_INTERNAL_TOOLS "Build internal driver/FPGA diagnostic tools" OFF)
|
||||
|
||||
if (BUILD_GVFG_INTERNAL_TOOLS AND NOT GVFG_ENABLE_INTERNAL_DEBUG_API)
|
||||
message(FATAL_ERROR
|
||||
"BUILD_GVFG_INTERNAL_TOOLS requires GVFG_ENABLE_INTERNAL_DEBUG_API=ON")
|
||||
endif()
|
||||
|
||||
if (NOT WIN32)
|
||||
message(FATAL_ERROR "GVFG currently supports Windows only.")
|
||||
endif()
|
||||
@@ -43,7 +37,7 @@ install(FILES
|
||||
DESTINATION ${CMAKE_INSTALL_DOCDIR}
|
||||
)
|
||||
|
||||
if (GVFG_ENABLE_INTERNAL_DEBUG_API)
|
||||
if (BUILD_GVFG_INTERNAL_TOOLS)
|
||||
install(FILES
|
||||
README.md
|
||||
docs/GVFG_INTERNAL_NOTES.md
|
||||
|
||||
Reference in New Issue
Block a user