Changeset 14643
- Timestamp:
- Dec 29, 2015, 2:04:37 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/daemon/CMakeLists.txt
r14604 r14643 21 21 set(${PROJECT_NAME}_SOURCES 22 22 daemon.c 23 daemon-posix.c 24 daemon-win32.c 23 25 watch.c 24 26 ) 25 27 26 28 if(WIN32) 27 list(APPEND ${PROJECT_NAME}_SOURCES daemon-win32.c)29 set_source_files_properties(daemon-posix.c PROPERTIES HEADER_FILE_ONLY ON) 28 30 else() 29 list(APPEND ${PROJECT_NAME}_SOURCES daemon-posix.c)31 set_source_files_properties(daemon-win32.c PROPERTIES HEADER_FILE_ONLY ON) 30 32 endif() 31 33 -
trunk/libtransmission/CMakeLists.txt
r14496 r14643 16 16 crypto.c 17 17 crypto-utils.c 18 crypto-utils-cyassl.c 18 19 crypto-utils-fallback.c 19 crypto-utils-${CRYPTO_PKG}.c 20 crypto-utils-openssl.c 21 crypto-utils-polarssl.c 20 22 error.c 21 23 fdlimit.c 22 24 file.c 25 file-posix.c 26 file-win32.c 23 27 handshake.c 24 28 history.c … … 52 56 tr-lpd.c 53 57 tr-udp.c 58 tr-utp.c 54 59 upnp.c 55 60 utils.c … … 63 68 ) 64 69 70 set_source_files_properties(crypto-utils-fallback.c PROPERTIES HEADER_FILE_ONLY ON) 71 foreach(CP cyassl openssl polarssl) 72 if(NOT CP STREQUAL CRYPTO_PKG) 73 set_source_files_properties(crypto-utils-${CP}.c PROPERTIES HEADER_FILE_ONLY ON) 74 endif() 75 endforeach() 76 65 77 if(WIN32) 66 list(APPEND ${PROJECT_NAME}_SOURCES file-win32.c)78 set_source_files_properties(file-posix.c PROPERTIES HEADER_FILE_ONLY ON) 67 79 else() 68 list(APPEND ${PROJECT_NAME}_SOURCES file-posix.c)80 set_source_files_properties(file-win32.c PROPERTIES HEADER_FILE_ONLY ON) 69 81 endif() 70 82 … … 124 136 tr-lpd.h 125 137 tr-udp.h 138 tr-utp.h 126 139 upnp.h 127 140 variant-common.h … … 131 144 ) 132 145 133 if(ENABLE_UTP) 134 list(APPEND ${PROJECT_NAME}_SOURCES tr-utp.c) 135 list(APPEND ${PROJECT_NAME}_PRIVATE_HEADERS tr-utp.h) 146 if(NOT ENABLE_UTP) 147 set_source_files_properties(tr-utp.c PROPERTIES HEADER_FILE_ONLY ON) 136 148 endif() 137 149
Note: See TracChangeset
for help on using the changeset viewer.