Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
Tensor-Core Correlator
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ResearchAndDevelopment
Tensor-Core Correlator
Commits
ba618690
Commit
ba618690
authored
1 year ago
by
Bram Veenboer
Browse files
Options
Downloads
Patches
Plain Diff
Fix CMake installation
parent
4cbaaceb
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
libtcc/CMakeLists.txt
+4
-4
4 additions, 4 deletions
libtcc/CMakeLists.txt
with
5 additions
and
5 deletions
CMakeLists.txt
+
1
−
1
View file @
ba618690
cmake_minimum_required
(
VERSION 3.17 FATAL_ERROR
)
cmake_minimum_required
(
VERSION 3.17 FATAL_ERROR
)
project
(
project
(
tensor-core-correlator
libtcc
DESCRIPTION
"Tensor-Core Correlator"
DESCRIPTION
"Tensor-Core Correlator"
VERSION 0.5
VERSION 0.5
HOMEPAGE_URL https://git.astron.nl/RD/tensor-core-correlator
HOMEPAGE_URL https://git.astron.nl/RD/tensor-core-correlator
...
...
This diff is collapsed.
Click to expand it.
libtcc/CMakeLists.txt
+
4
−
4
View file @
ba618690
...
@@ -6,7 +6,7 @@ target_sources(tcc PRIVATE Correlator.cc CorrelatorKernel.cc Kernel.cc)
...
@@ -6,7 +6,7 @@ target_sources(tcc PRIVATE Correlator.cc CorrelatorKernel.cc Kernel.cc)
set_target_properties
(
tcc PROPERTIES PUBLIC_HEADER
"Correlator.h;CorrelatorKernel.h;Kernel.h"
)
set_target_properties
(
tcc PROPERTIES PUBLIC_HEADER
"Correlator.h;CorrelatorKernel.h;Kernel.h"
)
# Add includes
# Add includes
target_include_directories
(
target_include_directories
(
tcc PUBLIC $<INSTALL_INTERFACE:
${
CMAKE_INSTALL_INCLUDEDIR
}
/
${
PROJECT_NAME
}
>
tcc PUBLIC $<INSTALL_INTERFACE:
${
CMAKE_INSTALL_INCLUDEDIR
}
>
$<BUILD_INTERFACE:
${
CMAKE_SOURCE_DIR
}
>
)
$<BUILD_INTERFACE:
${
CMAKE_SOURCE_DIR
}
>
)
# Add links
# Add links
target_link_libraries
(
tcc PRIVATE cudawrappers::cu cudawrappers::nvrtc
)
target_link_libraries
(
tcc PRIVATE cudawrappers::cu cudawrappers::nvrtc
)
...
@@ -14,10 +14,10 @@ target_embed_source(tcc kernel/TCCorrelator.cu)
...
@@ -14,10 +14,10 @@ target_embed_source(tcc kernel/TCCorrelator.cu)
# Install libraries and headers
# Install libraries and headers
install
(
install
(
TARGETS tcc
TARGETS tcc
EXPORT
tcc
-config
# export tcc cmake targets
EXPORT
${
PROJECT_NAME
}
-config
# export tcc cmake targets
COMPONENT tcc
COMPONENT tcc
PUBLIC_HEADER DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/
libtcc
)
PUBLIC_HEADER DESTINATION
${
CMAKE_INSTALL_INCLUDEDIR
}
/
${
PROJECT_NAME
}
)
# Install tcc cmake targets
# Install tcc cmake targets
install
(
install
(
EXPORT
tcc
-config
EXPORT
${
PROJECT_NAME
}
-config
DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
/cmake/
${
PROJECT_NAME
}
)
DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
/cmake/
${
PROJECT_NAME
}
)
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment