mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-19 10:30:02 +02:00
* moench, removed chip version, filter resistor, filter cells, currentsoures, gain mode, setttings(modes), dbitphase, maxdbitphase, autocompdisable, comparatordisabletime, made acq start and stop a pulse, removed unused registers * added parallel command * remove gain plot for moench * moench: updated adc invert val * moench: update adcoffset to 0xf and adcphase to 140 degrees * removed sync clock in moench * updated min fw version * removing config file in moench server
45 lines
1.5 KiB
CMake
45 lines
1.5 KiB
CMake
# SPDX-License-Identifier: LGPL-3.0-or-other
|
|
# Copyright (C) 2021 Contributors to the SLS Detector Package
|
|
add_executable(moenchDetectorServer_virtual
|
|
slsDetectorFunctionList.c
|
|
../slsDetectorServer/src/slsDetectorServer.c
|
|
../slsDetectorServer/src/slsDetectorServer_funcs.c
|
|
../slsDetectorServer/src/communication_funcs.c
|
|
../slsDetectorServer/src/blackfin.c
|
|
../slsDetectorServer/src/common.c
|
|
../slsDetectorServer/src/commonServerFunctions.c
|
|
../slsDetectorServer/src/AD9257.c
|
|
../slsDetectorServer/src/ALTERA_PLL.c
|
|
../slsDetectorServer/src/LTC2620.c
|
|
../slsDetectorServer/src/MAX1932.c
|
|
../slsDetectorServer/src/programViaBlackfin.c
|
|
../slsDetectorServer/src/communication_funcs_UDP.c
|
|
../slsDetectorServer/src/sharedMemory.c
|
|
../../slsSupportLib/src/md5.c
|
|
)
|
|
|
|
target_include_directories(moenchDetectorServer_virtual
|
|
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
../slsDetectorServer/include
|
|
../../slsSupportLib/include
|
|
)
|
|
|
|
target_compile_definitions(moenchDetectorServer_virtual
|
|
PUBLIC MOENCHD VIRTUAL STOP_SERVER #TEST_MOD_GEOMETRY
|
|
)
|
|
|
|
target_link_libraries(moenchDetectorServer_virtual
|
|
PUBLIC pthread rt slsProjectCSettings
|
|
)
|
|
|
|
set_target_properties(moenchDetectorServer_virtual PROPERTIES
|
|
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
|
)
|
|
|
|
install(TARGETS moenchDetectorServer_virtual
|
|
EXPORT "${TARGETS_EXPORT_NAME}"
|
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
|
)
|
|
|
|
configure_file(detid_moench.txt ${CMAKE_BINARY_DIR}/bin/detid_moench.txt COPYONLY)
|