Changeset 19276
- Timestamp:
- 10/22/18 22:05:04 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/CMakeLists.txt
r19270 r19276 53 53 # ********* Requirements ********** 54 54 # ********************************* 55 56 # Inlclude the main source AND build dir itself 57 #SET(CMAKE_INCLUDE_CURRENT_DIR ON) 55 58 56 59 # =========== help2man ============ … … 242 245 OPTIONS -p -D__MARS__ -DHAVE_ZLIB) 243 246 247 SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/dictionary) 244 248 ADD_LIBRARY(mars SHARED dictionary/MARS.cxx) # CMAKE_POSITION_INDEPENDENT_CODE 245 249 TARGET_LINK_LIBRARIES(mars … … 263 267 # rootlogon.C finds the shared object only if the libmars.so is in the same directory than the dictionary files 264 268 # there is a way to create a map file with rootcling - but I haven#t yet fugured out how. Note that a link is not enough 265 ADD_CUSTOM_COMMAND(TARGET mars POST_BUILD266 COMMAND cp -f ${PROJECT_BINARY_DIR}/libmars.so ${PROJECT_BINARY_DIR}/dictionary/libmars.so267 COMMENT "Copying libmars.so to ${PROJECT_BINARY_DIR}/dictionary")269 #ADD_CUSTOM_COMMAND(TARGET mars POST_BUILD 270 # COMMAND cp -f ${PROJECT_BINARY_DIR}/libmars.so ${PROJECT_BINARY_DIR}/dictionary/libmars.so 271 # COMMENT "Copying libmars.so to ${PROJECT_BINARY_DIR}/dictionary") 268 272 269 273 #---Create a shared library with geneated dictionary
Note:
See TracChangeset
for help on using the changeset viewer.