Updated cmake to better organize folders and options.
This adds solution folders that properly group gtest/glslang/hlsl. This also marks gtest options as advanced so they don't show up in cmake-gui by default.
This commit is contained in:
@@ -18,6 +18,7 @@ if (TARGET gmock)
|
||||
)
|
||||
|
||||
add_executable(glslangtests ${TEST_SOURCES})
|
||||
set_property(TARGET glslangtests PROPERTY FOLDER tests)
|
||||
target_compile_definitions(glslangtests
|
||||
PRIVATE GLSLANG_TEST_DIRECTORY="${CMAKE_CURRENT_SOURCE_DIR}/../Test")
|
||||
target_include_directories(glslangtests PRIVATE
|
||||
|
||||
Reference in New Issue
Block a user