Commit 22903a35 authored by deuce's avatar deuce
Browse files

Add an install target. Installs the library into the "right" place and

installs the headers into the include/xpdev directory.

This will make for a more unixy install someday maybe perhaps.
parent c45ad0ed
......@@ -155,3 +155,38 @@ CHECK_INCLUDE_FILES(alsa/asoundlib.h USE_ALSA_SOUND)
if(HAS_INTTYPES_H)
target_compile_definitions(xpdev PRIVATE USE_ALSA_SOUND)
endif()
set(INSTALL_HEADERS
conwrap.h
dat_file.h
datewrap.h
dirwrap.h
eventwrap.h
filewrap.h
gen_defs.h
genwrap.h
ini_file.h
link_list.h
msg_queue.h
multisock.h
netwrap.h
semfile.h
semwrap.h
sockwrap.h
str_list.h
strwrap.h
threadwrap.h
wrapdll.h
xp_dl.h
xp_syslog.h
xpbeep.h
xpdatetime.h
xpendian.h
xpevent.h
xpmap.h
xpprintf.h
xpsem.h
)
install(TARGETS xpdev DESTINATION bin)
install(FILES ${INSTALL_HEADERS} DESTINATION include/xpdev)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment