🚚 Renamed 'widgets' folder to 'themes'
|
@ -332,9 +332,9 @@ endif()
|
|||
# Jump to the CMakeLists.txt file in the source folder
|
||||
add_subdirectory(src/TGUI)
|
||||
|
||||
# Install the widgets on linux
|
||||
# Install the themes on linux
|
||||
if (SFML_OS_LINUX)
|
||||
install( DIRECTORY widgets DESTINATION "${INSTALL_MISC_DIR}" )
|
||||
install( DIRECTORY themes DESTINATION "${INSTALL_MISC_DIR}" )
|
||||
endif()
|
||||
|
||||
# Build the documentation when requested
|
||||
|
|
|
@ -36,7 +36,7 @@ int main()
|
|||
|
||||
try
|
||||
{
|
||||
tgui::Theme theme{"../../widgets/Black.txt"};
|
||||
tgui::Theme theme{"../../themes/Black.txt"};
|
||||
|
||||
gui.add(tgui::Picture::create("../RedBackground.jpg"));
|
||||
|
||||
|
|
|
@ -72,9 +72,9 @@ add_custom_command(TARGET tests
|
|||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJECT_SOURCE_DIR}/tests/expected $<TARGET_FILE_DIR:tests>/expected
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJECT_SOURCE_DIR}/tests/resources $<TARGET_FILE_DIR:tests>/resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJECT_SOURCE_DIR}/widgets/Knob $<TARGET_FILE_DIR:tests>/resources/Knob
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_SOURCE_DIR}/widgets/Black.png $<TARGET_FILE_DIR:tests>/resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_SOURCE_DIR}/widgets/Black.txt $<TARGET_FILE_DIR:tests>/resources)
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory ${PROJECT_SOURCE_DIR}/themes/Knob $<TARGET_FILE_DIR:tests>/resources/Knob
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_SOURCE_DIR}/themes/Black.png $<TARGET_FILE_DIR:tests>/resources
|
||||
COMMAND ${CMAKE_COMMAND} -E copy ${PROJECT_SOURCE_DIR}/themes/Black.txt $<TARGET_FILE_DIR:tests>/resources)
|
||||
|
||||
# Add the install rule for the executable
|
||||
install(TARGETS tests
|
||||
|
@ -85,6 +85,6 @@ install(TARGETS tests
|
|||
install(DIRECTORY "${CMAKE_SOURCE_DIR}/tests/resources"
|
||||
DESTINATION "${INSTALL_MISC_DIR}/tests"
|
||||
COMPONENT tests)
|
||||
install(DIRECTORY "${CMAKE_SOURCE_DIR}/widgets/"
|
||||
install(DIRECTORY "${CMAKE_SOURCE_DIR}/themes/"
|
||||
DESTINATION "${INSTALL_MISC_DIR}/tests/resources"
|
||||
COMPONENT tests)
|
||||
|
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 45 KiB After Width: | Height: | Size: 45 KiB |
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 306 B After Width: | Height: | Size: 306 B |