tiny-AES-c/CMakeLists.txt

18 lines
366 B
CMake
Raw Normal View History

cmake_minimum_required(VERSION 3.12)
2019-01-31 15:50:14 +03:00
project(tiny-aes C)
2019-01-31 15:50:14 +03:00
add_library(${PROJECT_NAME} "")
target_sources(${PROJECT_NAME}
PRIVATE
${CMAKE_CURRENT_LIST_DIR}/aes.c
INTERFACE
${CMAKE_CURRENT_LIST_DIR}/aes.h
${CMAKE_CURRENT_LIST_DIR}/aes.hpp
)
2019-01-31 15:50:14 +03:00
target_include_directories(${PROJECT_NAME}
INTERFACE
${CMAKE_CURRENT_LIST_DIR}
)