mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
3bd07d1f7e
Properly include and reuse produced static lib in other components.
30 lines
435 B
CMake
30 lines
435 B
CMake
set(HEADERS
|
|
doorpage.h
|
|
gamefilepage.h
|
|
genericpage.h
|
|
megapage.h
|
|
powerpage.h
|
|
robotpage.h
|
|
shippage.h
|
|
soundpage.h
|
|
texpage.h
|
|
weaponpage.h)
|
|
set(CPPS
|
|
doorpage.cpp
|
|
gamefilepage.cpp
|
|
generic.cpp
|
|
manage.cpp
|
|
megapage.cpp
|
|
pagelock.cpp
|
|
shippage.cpp
|
|
soundpage.cpp
|
|
texpage.cpp
|
|
weaponpage.cpp)
|
|
|
|
add_library(manage STATIC ${HEADERS} ${CPPS})
|
|
target_link_libraries(manage PRIVATE
|
|
cfile
|
|
sndlib
|
|
stream_audio
|
|
)
|