• R/O
  • SSH
  • HTTPS

ttssh2:


File Info

Rev. 9410
Size 868 bytes
Time 2021-09-11 00:51:25
Author zmatsuo
Log Message

プラグインを簡単に追加するためのフォルダを作成

Content

set(PACKAGE_NAME "TTXtest2")

project(${PACKAGE_NAME})

add_library(
  ${PACKAGE_NAME} SHARED
  ../TTXSamples/ttxtest/ttxtest.c
  )

if(SUPPORT_OLD_WINDOWS)
  target_link_libraries(
    ${PACKAGE_NAME}
    PRIVATE
    layer_for_unicode
    )
  if(MSVC)
    target_sources(
      ${PACKAGE_NAME}
      PRIVATE
      ../teraterm/common/compat_w95_vs2005.c
      )
  endif()
  if(MINGW)
    target_sources(
      ${PACKAGE_NAME}
      PRIVATE
      ../teraterm/libmingw/tlssup.c
      )
  endif()
endif(SUPPORT_OLD_WINDOWS)

set_target_properties(
  ${PACKAGE_NAME}
  PROPERTIES
  PREFIX ""
  RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/"
  )

target_include_directories(
  ${PACKAGE_NAME}
  PRIVATE
  ../teraterm/teraterm
  ../teraterm/common
  )

set_target_properties(${PACKAGE_NAME} PROPERTIES FOLDER TTXAdditional)
Show on old repository browser