mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-30 08:10:25 +08:00
58196ee519
* [cvtt] Add port. * [cvtt] Modified to unofficial-cvtt * Apply suggestions from code review Co-authored-by: Robert Schumacher <roschuma@microsoft.com> * [cvtt] Renamed to convectionkernels Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
31 lines
827 B
CMake
31 lines
827 B
CMake
cmake_minimum_required(VERSION 3.3.0)
|
|
|
|
project( convectionkernels )
|
|
|
|
file(GLOB SRC_FILES *.cpp)
|
|
file(GLOB HDR_FILES *.h)
|
|
add_library( ${PROJECT_NAME}
|
|
STATIC
|
|
${HDR_FILES}
|
|
${SRC_FILES}
|
|
)
|
|
set_property( TARGET ${PROJECT_NAME}
|
|
PROPERTY PUBLIC_HEADER ${HDR_FILES}
|
|
)
|
|
target_include_directories( ${PROJECT_NAME}
|
|
PRIVATE ${CMAKE_CURRENT_LIST_DIR}
|
|
INTERFACE $<INSTALL_INTERFACE:include>
|
|
)
|
|
install( TARGETS ${PROJECT_NAME}
|
|
EXPORT unofficial-convectionkernels-config
|
|
RUNTIME DESTINATION bin
|
|
LIBRARY DESTINATION lib
|
|
ARCHIVE DESTINATION lib
|
|
PUBLIC_HEADER DESTINATION include/convectionkernels
|
|
)
|
|
install( EXPORT unofficial-convectionkernels-config
|
|
FILE unofficial-convectionkernels-config.cmake
|
|
NAMESPACE unofficial::convectionkernels::
|
|
DESTINATION share/unofficial-convectionkernels
|
|
)
|