PROJECT(TestBFD)

IF(BUILD_SHARED_LIBS)
  ADD_LIBRARY(TestBFD SHARED TestBFD.cxx)
ELSE(BUILD_SHARED_LIBS)
  ADD_LIBRARY(TestBFD TestBFD.cxx)
ENDIF(BUILD_SHARED_LIBS)
TARGET_LINK_LIBRARIES(TestBFD bfd iberty)
