I write MakefileList.txt like this. ------------------------------------------------------------------------ include_directories(${COMMINC_DIR} ${DBINC_DIR} ./) link_directories(${DBLIB_DIR} ${COMMLIB_DIR})
set(DBUSERID withdb/ufdb) PREPROCESS_ORACLE_FILES(ACK_db.pc ${DBUSERID} "${DBINC_DIR};${COMMINC_DIR}") set(ACK_P_SRCS ACK_db.c ACK_p.c) set(ACK_C_SRCS ACK_db.c ACK_c.c) add_executable(ACK_p ${ACK_P_SRCS}) add_executable(ACK_c ${ACK_C_SRCS}) target_link_libraries(ACK_p ${DEF_P_LIBS} ${DBLIB}) target_link_libraries(ACK_c ${DEF_C_LIBS} ${DBLIB}) install(TARGETS ACK_p DESTINATION ${BIN_DIR}) install(TARGETS ACK_c DESTINATION ${BIN_DIR}) ---------------------------------------------------------------------------------- When I install it, the md5sum value of the binaries there is different. Why is the binary md5sum value different? EX) _ Size is Same $>md5sum DMACK_c 68ff336ffa2a454672c451bd3ad66369 DMACK_c $> md5sum ../bin/DMACK_c 369c9a12e3dd58504e2180a008b12eb6 ../bin/DMACK_c -- Sent from: http://cmake.3232098.n2.nabble.com/ -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake