Skip to content

Commit

Permalink
added stub source file for cudftestutil_impl's OBJECT target compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
lamarrr committed Oct 14, 2024
1 parent 5c38595 commit 8356c40
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
###################################################################################################
# - compiler function -----------------------------------------------------------------------------

add_library(cuspatial_test_common OBJECT)
add_library(cuspatial_test_common OBJECT test_common.cpp)

target_compile_features(cuspatial_test_common PUBLIC cxx_std_17 cuda_std_17)

Expand Down
15 changes: 15 additions & 0 deletions cpp/tests/test_common.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/*
* Copyright (c) 2024, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

0 comments on commit 8356c40

Please sign in to comment.