OMKOV cryptutils
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
503 B

  1. # CMakeLists.txt
  2. # CMakeLists file for OMKOV cryptutils
  3. CMAKE_MINIMUM_REQUIRED(VERSION 3.12)
  4. PROJECT(cryptutils C)
  5. SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib)
  6. SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
  7. SET(CMAKE_STATIC_LIBRARY_PREFIX "")
  8. FILE(GLOB LIBSRC ${PROJECT_SOURCE_DIR}/src/lib/*)
  9. ADD_LIBRARY(lib STATIC ${LIBSRC})
  10. LINK_LIBRARIES(lib)
  11. ADD_EXECUTABLE(alder32 ${PROJECT_SOURCE_DIR}/src/alder32.c)
  12. ADD_EXECUTABLE(crc32 ${PROJECT_SOURCE_DIR}/src/crc32.c)