This repository was archived by the owner on Feb 13, 2025. It is now read-only.
File tree 1 file changed +13
-10
lines changed
1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change 1
1
add_library (pix2pix
2
- pix2pix/CheckpointWriter .swift
3
- pix2pix/CLI .swift
4
- pix2pix/Dataset .swift
5
- pix2pix/Discriminator .swift
6
- pix2pix/Generator .swift
7
- pix2pix/Layers .swift
8
- pix2pix/Utils .swift
9
- pix2pix/CheckpointReader .swift)
2
+ CheckpointReader .swift
3
+ CheckpointWriter .swift
4
+ CLI .swift
5
+ Dataset .swift
6
+ Discriminator .swift
7
+ Generator .swift
8
+ Layers .swift
9
+ Utils .swift)
10
10
11
11
set_target_properties (pix2pix PROPERTIES
12
12
INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_Swift_MODULE_DIRECTORY} )
@@ -15,7 +15,10 @@ target_compile_options(pix2pix PRIVATE
15
15
$<$<BOOL :${BUILD_TESTING} >:-enable-testing>)
16
16
17
17
target_link_libraries (pix2pix PRIVATE
18
- pix2pix)
18
+ ArgumentParser
19
+ Checkpoints
20
+ Datasets
21
+ ModelSupport)
19
22
20
23
add_executable (pix2pixDemo
21
24
main.swift)
@@ -30,7 +33,7 @@ install(TARGETS pix2pixDemo
30
33
DESTINATION bin)
31
34
get_swift_host_arch(swift_arch)
32
35
install (FILES
33
- $<TARGET_PROPERTY:pix2ix ,Swift_MODULE_DIRECTORY>/pix2pix.swiftdoc
36
+ $<TARGET_PROPERTY:pix2pix ,Swift_MODULE_DIRECTORY>/pix2pix.swiftdoc
34
37
$<TARGET_PROPERTY:pix2pix,Swift_MODULE_DIRECTORY>/pix2pix.swiftmodule
35
38
DESTINATION lib/swift$<$<NOT :$<BOOL :${BUILD_SHARED_LIBS} >>:_static>/$<LOWER_CASE:${CMAKE_SYSTEM_NAME} >/${swift_arch} )
36
39
You can’t perform that action at this time.
0 commit comments