mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Added all public headers to CMake projects, also moved some files around in the public directory. Translation units have been moved to the libraries that were responsible for implementing them, as this game is monolithic.
22 lines
504 B
CMake
22 lines
504 B
CMake
cmake_minimum_required( VERSION 3.16 )
|
|
add_module( "lib" "materialsystem" "vpc" ${FOLDER_CONTEXT} TRUE )
|
|
|
|
start_sources()
|
|
|
|
add_sources( SOURCE_GROUP "Private"
|
|
"cmaterialglue.cpp"
|
|
"cmaterialglue.h"
|
|
"cmaterialsystem.cpp"
|
|
"cmaterialsystem.h"
|
|
"cshaderglue.cpp"
|
|
"cshaderglue.h"
|
|
)
|
|
|
|
add_sources( SOURCE_GROUP "Public"
|
|
"${ENGINE_SOURCE_DIR}/public/imaterial.h"
|
|
"${ENGINE_SOURCE_DIR}/public/imaterialinternal.h"
|
|
"${ENGINE_SOURCE_DIR}/public/imaterialsystem.h"
|
|
)
|
|
|
|
end_sources()
|