This commit is contained in:
2020-07-20 17:28:29 +02:00
parent e4433a99a5
commit 07a292af95
4 changed files with 4 additions and 1 deletions

View File

@ -37,3 +37,5 @@ set_target_properties(gotthardDetectorServer_virtual PROPERTIES
install(TARGETS gotthardDetectorServer_virtual install(TARGETS gotthardDetectorServer_virtual
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
) )
configure_file(config_gotthard.txt ${CMAKE_BINARY_DIR}/bin/config_gotthard.txt COPYONLY)

View File

@ -31,6 +31,7 @@ $(PROGS): $(OBJS)
mkdir -p $(DESTDIR) mkdir -p $(DESTDIR)
$(CC) -o $@ $^ $(CFLAGS) $(LDLIBS) $(CC) -o $@ $^ $(CFLAGS) $(LDLIBS)
mv $(PROGS) $(DESTDIR) mv $(PROGS) $(DESTDIR)
cp config_gotthard.txt $(DESTDIR)
rm *.gdb rm *.gdb
rm $(main_src)*.o rm $(main_src)*.o

View File

@ -30,7 +30,7 @@ enum CLKINDEX { ADC_CLK, NUM_CLOCKS };
}; };
/* for 25 um */ /* for 25 um */
#define CONFIG_FILE "config.txt" #define CONFIG_FILE "config_gotthard.txt"
/* Hardware Definitions */ /* Hardware Definitions */
#define NCHAN (128) #define NCHAN (128)