Skip to content

Commit

Permalink
fix compilation error in FDR
Browse files Browse the repository at this point in the history
  • Loading branch information
wge11 committed Dec 4, 2017
1 parent f51ad93 commit 461073d
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ add_subdirectory (src/init init)
add_subdirectory (src/seq_generator seq_generator)
add_subdirectory (src/seq_scoring seq_scoring)
add_subdirectory (src/refinement bamm)
add_subdirectory (src/evaluation fdr)
add_subdirectory (src/evaluation evaluation)
3 changes: 2 additions & 1 deletion src/evaluation/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
file(GLOB SOURCES *.cpp *.h ../refinement/EM.* ../refinement/GibbsSampling.*)

add_executable (FDR ${SOURCES})

target_link_libraries (FDR LINK_PUBLIC init)
target_link_libraries (FDR LINK_PUBLIC seq_scoring)
target_link_libraries (FDR LINK_PUBLIC seq_generator)

add_library (fdr ${SOURCES})
add_library (evaluation ${SOURCES})
1 change: 1 addition & 0 deletions src/getopt_pp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
file(GLOB SOURCES *.cpp *.h)

add_library (getopt_pp ${SOURCES})
3 changes: 1 addition & 2 deletions src/init/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
file(GLOB SOURCES *.cpp *.h)
add_library (init ${SOURCES})

target_include_directories (init PUBLIC ../sequences)
add_library (init ${SOURCES})
3 changes: 2 additions & 1 deletion src/refinement/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
file(GLOB SOURCES *.cpp *.h)

add_executable (BaMMmotif ${SOURCES})

target_link_libraries (BaMMmotif LINK_PUBLIC getopt_pp)
target_link_libraries (BaMMmotif LINK_PUBLIC init)
target_link_libraries (BaMMmotif LINK_PUBLIC fdr)
target_link_libraries (BaMMmotif LINK_PUBLIC evaluation)
target_link_libraries (BaMMmotif LINK_PUBLIC seq_scoring)
target_link_libraries (BaMMmotif LINK_PUBLIC seq_generator)

Expand Down
1 change: 1 addition & 0 deletions src/seq_scoring/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
file(GLOB SOURCES *.cpp *.h ../seq_generator/SeqGenerator.*)

add_executable (BaMMScan ${SOURCES})

target_link_libraries (BaMMScan LINK_PUBLIC init)
Expand Down

0 comments on commit 461073d

Please sign in to comment.