################################################# # ___________ ____ ______ __ __ _____ # # \____ \__ \ _/ ___\\____ \| | \/ ___/ # # | |_> > __ \\ \___| |_> > | /\___ \ # # | __(____ /\___ > __/|____//____ > # # |__| \/ \/|__| \/ # # # ################################################# project(ROAD_TIME) # ======================================== # Compiler definitions # ======================================== add_definitions( -DROAD_TIME_EXPORTS ) # ======================================== # Include directories # ======================================== include_directories( ${PACPUS_INCLUDE_DIR} ) # ======================================== # List of sources # ======================================== set( PROJECT_SRCS ./src/road_time.c ) # ======================================== # Build a library # ======================================== add_library( ${PROJECT_NAME} SHARED ${PROJECT_SRCS} ) # ======================================== # Properties # ======================================== set_target_properties( ${PROJECT_NAME} PROPERTIES DEBUG_POSTFIX "_d" ) # ======================================== # Install directories # ======================================== install( TARGETS ${PROJECT_NAME} RUNTIME DESTINATION ${PACPUS_INSTALL_DIR}/bin LIBRARY DESTINATION ${PACPUS_INSTALL_DIR}/lib ARCHIVE DESTINATION ${PACPUS_INSTALL_DIR}/lib )