-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,5 @@ if (NOT DEFINED TARTAN_TESTING AND | |
enable_testing() | ||
add_subdirectory(tests) | ||
endif() | ||
|
||
add_subdirectory(install) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
include(GNUInstallDirs) | ||
|
||
install(TARGETS tt_borad | ||
EXPORT tt_board_export | ||
) | ||
install(TARGETS tt_chess | ||
EXPORT tt_chess_export | ||
) | ||
|
||
install(EXPORT tt_board_export | ||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/board | ||
NAMESPACE tt:: | ||
) | ||
install(EXPORT tt_chess_export | ||
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/chess | ||
NAMESPACE tt:: | ||
) |