forked from NYU-Processor-Design/nyu-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
39 lines (32 loc) · 865 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
cmake_minimum_required(VERSION 3.27)
include(cmake/BootstrapVcpkg.cmake)
project(nyu-core VERSION 1.0.0)
find_package(nyu-cmake CONFIG REQUIRED)
add_library(core INTERFACE)
add_subdirectory(rtl)
if(NYU_BUILD_TESTS)
enable_testing()
add_subdirectory(dv)
endif()
# include(CMakePackageConfigHelpers)
# include(GNUInstallDirs)
#
# nyu_install_sv(
# EXPORT projectTargets
# TARGETS
# NAMESPACE nyu::
# EXPORT_DEST ${CMAKE_INSTALL_DATADIR}/project
# SV_DEST ${CMAKE_INSTALL_DATADIR}/project/rtl
# )
#
# write_basic_package_version_file(
# ${CMAKE_CURRENT_BINARY_DIR}/project-config-version.cmake
# COMPATIBILITY ExactVersion
# ARCH_INDEPENDENT
# )
#
# install(FILES
# ${CMAKE_CURRENT_SOURCE_DIR}/cmake/project-config.cmake
# ${CMAKE_CURRENT_BINARY_DIR}/project-config-version.cmake
# DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/project
# )