CMakeLists.txt 526 B

12345678910111213141516171819
  1. # CMake script for the 'sclog' DynamoRIO instrumentation system that
  2. # goes with the PuTTY test binary 'testsc'. For build instructions see
  3. # the comment at the top of testsc.c.
  4. cmake_minimum_required(VERSION 3.5)
  5. project(sclog LANGUAGES C)
  6. find_package(DynamoRIO)
  7. if (NOT DynamoRIO_FOUND)
  8. message(FATAL_ERROR "DynamoRIO not found")
  9. endif()
  10. add_library(sclog SHARED sclog.c)
  11. configure_DynamoRIO_client(sclog)
  12. foreach(extension drmgr drsyms drreg drutil drwrap)
  13. use_DynamoRIO_extension(sclog ${extension})
  14. endforeach()