Sha256: 234a5693e0a7d8aa1a5e0f9da0adfdd7ae3994ab4bfeacccbefaad7a315e03bc

Contents?: true

Size: 1.42 KB

Versions: 4

Compression:

Stored size: 1.42 KB

Contents

###################################################################################
#                                                                                 #
# NAME: CMakeLists.txt                                                            #
#                                                                                 #
# AUTHOR: Mike Karlesky, Mark VanderVoord, Greg Williams.                         #
# WRITTEN BY: Michael Brockus.                                                    #
#                                                                                 #
# License: MIT                                                                    #
#                                                                                 #
###################################################################################
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)


project(unity LANGUAGES C DESCRIPTION "C Unit testing framework.")

add_subdirectory(src)
target_include_directories(unity
    PUBLIC 
        "$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>"
        "$<INSTALL_INTERFACE:src>"

    PRIVATE "src"
)

add_library(unity::framework ALIAS unity)

install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/src/ DESTINATION src)
install(EXPORT unityConfig DESTINATION share/unityConfig/cmake)

# This makes the project importable from the build directory
export(TARGETS unity FILE unityConfig.cmake)

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
ceedling-0.29.1 vendor/cmock/vendor/unity/CMakeLists.txt
ceedling-0.29.1 vendor/unity/CMakeLists.txt
ceedling-0.29.0 vendor/cmock/vendor/unity/CMakeLists.txt
ceedling-0.29.0 vendor/unity/CMakeLists.txt