Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
Fixed public headers.
  • Loading branch information
przemek83 committed Jul 31, 2023
1 parent ab4e848 commit 5927c73
Showing 1 changed file with 16 additions and 12 deletions.
28 changes: 16 additions & 12 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,25 @@ set(UI
source_group("UI Files" FILES ${UI})

add_library(${PROJECT_NAME} SHARED ${SOURCES} ${HEADERS} ${UI})

set(PUBLIC_HEADERS
src/wble_global.h
src/DoubleSlider.h
src/Filter.h
src/FilterStrings.h
src/FilterDates.h
src/FilterNumbers.h
src/FilterIntegers.h
src/FilterDoubles.h
src/ProgressBar.h
src/ProgressBarInfinite.h
src/ProgressBarCounter.h
)

set_target_properties(${PROJECT_NAME} PROPERTIES
VERSION ${PROJECT_VERSION}
SOVERSION 1
PUBLIC_HEADER
src/wble_global.h
src/DoubleSlider.h
src/Filter.h
src/FilterStrings.h
src/FilterDates.h
src/FilterNumbers.h
src/FilterIntegers.h
src/FilterDoubles.h
src/ProgressBar.h
src/ProgressBarInfinite.h
src/ProgressBarCounter.h
PUBLIC_HEADER "${PUBLIC_HEADERS}"
)

target_include_directories(${PROJECT_NAME} PUBLIC src)
Expand Down

0 comments on commit 5927c73

Please sign in to comment.