forked from pocoproject/poco
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make CMake files style (more) consistent
- Loading branch information
1 parent
4f59aef
commit 4de9a21
Showing
86 changed files
with
1,543 additions
and
1,413 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
# Sources | ||
file(GLOB SRCS_G "src/*.cpp") | ||
POCO_SOURCES_AUTO( SRCS ${SRCS_G}) | ||
POCO_SOURCES_AUTO(SRCS ${SRCS_G}) | ||
|
||
# Headers | ||
file(GLOB_RECURSE HDRS_G "include/*.h" ) | ||
POCO_HEADERS_AUTO( SRCS ${HDRS_G}) | ||
file(GLOB_RECURSE HDRS_G "include/*.h") | ||
POCO_HEADERS_AUTO(SRCS ${HDRS_G}) | ||
|
||
add_library(mod_poco SHARED ${SRCS}) | ||
set_target_properties(mod_poco | ||
PROPERTIES | ||
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} | ||
DEFINE_SYMBOL ApacheHandlers_EXPORTS) | ||
PROPERTIES | ||
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} | ||
DEFINE_SYMBOL ApacheHandlers_EXPORTS) | ||
target_include_directories(mod_poco | ||
PUBLIC | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> | ||
$<INSTALL_INTERFACE:include> | ||
PUBLIC | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> | ||
$<INSTALL_INTERFACE:include> | ||
PRIVATE | ||
${APACHE2_INCLUDE_DIRS} | ||
${CMAKE_CURRENT_SOURCE_DIR}/src | ||
) | ||
) | ||
target_link_libraries(mod_poco PUBLIC Poco::Util Poco::Net Apache::Apr Apache::Aprutil) | ||
|
||
if (ENABLE_TESTS) | ||
add_subdirectory(samples) | ||
endif () | ||
if(ENABLE_TESTS) | ||
add_subdirectory(samples) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
add_subdirectory( FormServer ) | ||
add_subdirectory( TimeServer ) | ||
add_subdirectory(FormServer) | ||
add_subdirectory(TimeServer) |
Oops, something went wrong.