Skip to content

Commit 418a2c7

Browse files
committed
Remove comments in CMakeLists.
1 parent 7f26b95 commit 418a2c7

1 file changed

Lines changed: 0 additions & 24 deletions

File tree

CMakeLists.txt

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,12 @@ set(CMAKE_CXX_STANDARD 17)
2929

3030

3131
include(LibTorchDL)
32-
33-
3432
download_libtorch(
3533
CACHE_DIR ${PROJECT_CACHE_DIR}
3634
DESTINATION ${LIBTORCH_DIR}
3735
)
3836

3937

40-
41-
4238
add_library(bridge OBJECT ${BRIDGE_DIR}/include/bridge.h ${BRIDGE_DIR}/lib/bridge.cpp)
4339

4440
target_include_directories(
@@ -52,26 +48,6 @@ target_include_directories(
5248
set(BRIDGE_OBJECT_FILES $<TARGET_OBJECTS:bridge>)
5349

5450

55-
# set_target_properties(bridge PROPERTIES
56-
# OUTPUT_NAME "bridge"
57-
# )
58-
# install(TARGETS bridge DESTINATION ".")
59-
60-
61-
62-
# file(COPY ${bridge}
63-
# DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/bridge.o
64-
# )
65-
66-
67-
68-
# get_target_property(bridge_o_path bridge LOCATION)
69-
# set(bridge_o_path "${CMAKE_CURRENT_BINARY_DIR}/bridge.o")
70-
# set(bridge_o_path $<TARGET_OBJECTS:bridge>)
71-
72-
# message(STATUS "Library path: ${bridge_o_path}")
73-
74-
7551
add_executable(TorchBridge ${BRIDGE_DIR}/lib/Bridge.chpl)
7652
add_dependencies(TorchBridge bridge)
7753
target_link_options(TorchBridge

0 commit comments

Comments
 (0)