Renamed test targets to test-sfml-module structure
This commit is contained in:
parent
1d768839e7
commit
7e7216f598
3 changed files with 7 additions and 11 deletions
|
@ -306,11 +306,8 @@ function(sfml_add_test target SOURCES DEPENDS)
|
|||
# set a source group for the source files
|
||||
source_group("" FILES ${SOURCES})
|
||||
|
||||
# check whether resources must be added in target
|
||||
set(target_input ${SOURCES})
|
||||
|
||||
# create the target
|
||||
add_executable(${target} ${target_input})
|
||||
add_executable(${target} ${SOURCES})
|
||||
|
||||
# set the target's folder (for IDEs that support it, e.g. Visual Studio)
|
||||
set_target_properties(${target} PROPERTIES FOLDER "Tests")
|
||||
|
@ -462,4 +459,3 @@ function(sfml_export_targets)
|
|||
DESTINATION ${config_package_location}
|
||||
COMPONENT devel)
|
||||
endfunction()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue