From 932964f4c0e30208f0045dfa62f69455ecb6d3f4 Mon Sep 17 00:00:00 2001 From: Steven Franke Date: Sun, 24 Apr 2016 01:19:40 +0000 Subject: [PATCH] Changes needed to build ldpc library and ldpcsim. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6639 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ca1a3cf9d..fd8d2ac12 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -370,6 +370,7 @@ set (wsjt_FSRCS lib/jt9fano.f90 lib/jtmsk_decode.f90 lib/jtmsk_short.f90 + lib/ldpcsim.f90 lib/libration.f90 lib/lorentzian.f90 lib/lpf1.f90 @@ -441,6 +442,21 @@ set (ka9q_CSRCS ) set_source_files_properties (${ka9q_CSRCS} PROPERTIES COMPILE_FLAGS -Wno-sign-compare) +set (ldpc_CSRCS + lib/ldpc/alloc.c + lib/ldpc/rcode.c + lib/ldpc/dec.c + lib/ldpc/enc.c + lib/ldpc/intio.c + lib/ldpc/blockio.c + lib/ldpc/check.c + lib/ldpc/open.c + lib/ldpc/mod2dense.c + lib/ldpc/mod2sparse.c + lib/ldpc/mod2convert.c + lib/ldpc/distrib.c + ) + set (wsjt_CSRCS ${ka9q_CSRCS} lib/ftrsd/ftrsd2.c @@ -456,6 +472,7 @@ set (wsjt_CSRCS lib/vit213.c lib/wisdom.c lib/wrapkarn.c + ${ldpc_CSRCS} ) set (wsjt_qt_UISRCS @@ -960,6 +977,9 @@ target_link_libraries (jt4code wsjt_fort wsjt_cxx) add_executable (jt65 lib/jt65.f90 lib/jt65_test.f90 wsjtx.rc) target_link_libraries (jt65 wsjt_fort wsjt_cxx) +add_executable (ldpcsim lib/ldpcsim.f90 wsjtx.rc) +target_link_libraries (ldpcsim wsjt_fort wsjt_cxx) + add_executable (jt9 ${jt9_FSRCS} ${jt9_CXXSRCS} wsjtx.rc) if (${OPENMP_FOUND} OR APPLE) if (APPLE)