-
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.
Merge pull request #46 from paulsengroup/refactor
Restructure codebase
- Loading branch information
Showing
65 changed files
with
1,693 additions
and
1,338 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Binary file not shown.
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
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,47 @@ | ||
# Copyright (C) 2024 Roberto Rossini <[email protected]> | ||
# | ||
# SPDX-License-Identifier: GPL-3.0 | ||
# | ||
# This library is free software: you can redistribute it and/or | ||
# modify it under the terms of the GNU Public License as published | ||
# by the Free Software Foundation; either version 3 of the License, | ||
# or (at your option) any later version. | ||
# | ||
# This library is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
# Library General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU Public License along | ||
# with this library. If not, see | ||
# <https://www.gnu.org/licenses/>. | ||
|
||
find_package(hictk REQUIRED) | ||
|
||
add_library(nchg_common INTERFACE) | ||
add_library(nchg::common ALIAS nchg_common) | ||
|
||
target_sources( | ||
nchg_common | ||
INTERFACE | ||
"${CMAKE_CURRENT_SOURCE_DIR}/include/nchg/common.hpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/include/nchg/concepts.hpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/include/nchg/hash.hpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/include/nchg/suppress_warnings.hpp" | ||
"${CMAKE_CURRENT_SOURCE_DIR}/include/nchg/type_traits.hpp" | ||
) | ||
|
||
target_include_directories( | ||
nchg_common | ||
INTERFACE | ||
"$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>" | ||
"$<INSTALL_INTERFACE:include>" | ||
) | ||
|
||
target_link_libraries( | ||
nchg_common | ||
INTERFACE | ||
nchg_project_options | ||
nchg_project_warnings | ||
hictk::libhictk | ||
) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.