Skip to content
Snippets Groups Projects

Implement Single Channel Power Supply Interface

Merged Karol Krizka requested to merge singlechannel into devel
All threads resolved!
Files
13
## =======
## # add global dependencies
## include_directories( ../libCom )
## include_directories( ../libPs )
## include_directories( ../libUtils )
## include_directories( ../libMeter )
## include_directories( ../libLoad )
## include_directories( ../libDevCom )
## include_directories( ../libGalil )
## include_directories( ../libZaber )
## include_directories( ../libWaferProb )
## include_directories( ../libScope )
## include_directories( ../libArduino )
## include_directories( ../libEquipConf )
##
## link_directories( ${CMAKE_BINARY_DIR}/lib )
##
## if( ${ENABLE_FTDI} )
## add_definitions(-DFTDI)
## endif()
##
## if( ${ENABLE_SCOPE} )
## include_directories( ../libScope/include )
## include_directories( ${LIBPICO_INCLUDE_DIR} )
##
## add_definitions(-DSCOPE)
## endif()
# add executables
file(GLOB tools [a-zA-Z]*.cpp)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/examples)
file(GLOB examples [a-zA-Z]*.cpp)
foreach(target ${tools})
foreach(target ${examples})
get_filename_component(execname ${target} NAME_WE)
get_filename_component(srcfile ${target} NAME)
@@ -41,22 +15,5 @@ foreach(target ${tools})
target_link_libraries(${execname} PRIVATE Scope)
target_compile_definitions(${execname} PRIVATE SCOPE=1)
endif()
##
## #Ensure libs with registries are loaded as a whole
## if(APPLE)
## set(REGISTRY_LIBS -Wl,-force_load EquipConf -Wl)
## else()
## set(REGISTRY_LIBS -Wl,--whole-archive EquipConf -Wl,--no-whole-archive)
## endif()
##
## #Add executables
## add_executable(${execname} ${srcfile})
## target_link_libraries(${execname} -lCOM -lPS -lMETER -lArduino -lLOAD -lDevCom ${REGISTRY_LIBS})
## add_dependencies(${execname} COM PS METER Arduino LOAD DevCom EquipConf)
##
## if( ${ENABLE_SCOPE} )
## target_link_libraries(${execname} -lScope)
## add_dependencies(${execname} Scope)
## endif()
endforeach()
Loading