mirror of
https://github.com/kevinbentley/Descent3.git
synced 2025-01-22 19:55:23 +00:00
4826c37a69
Other modules that depends on it, can reuse includes on linking. There some files formally not belonging any packages (lib directory), as workaround there temporary include_directories(cfile) on root of project. After migrating all modules this can be removed.
28 lines
411 B
CMake
28 lines
411 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
|
|
)
|