Merge pull request #268 from AWoloszyn/update-cmake

CMake: Updated to better organize folders and options.
This commit is contained in:
John Kessenich
2016-05-05 13:46:36 -06:00
10 changed files with 33 additions and 0 deletions

View File

@@ -18,6 +18,10 @@ if (TARGET gmock)
)
add_executable(glslangtests ${TEST_SOURCES})
set_property(TARGET glslangtests PROPERTY FOLDER tests)
install(TARGETS glslangtests
RUNTIME DESTINATION bin)
target_compile_definitions(glslangtests
PRIVATE GLSLANG_TEST_DIRECTORY="${CMAKE_CURRENT_SOURCE_DIR}/../Test")
target_include_directories(glslangtests PRIVATE