celix.git
6 months agoAdd suppress warning for cpputest code
Pepijn Noltes [Wed, 9 Mar 2022 09:53:19 +0000 (10:53 +0100)] 
Add suppress warning for cpputest code

6 months agoUpdates documentation and adds svc tracking intro and exmpl code.
Pepijn Noltes [Wed, 9 Mar 2022 09:45:23 +0000 (10:45 +0100)] 
Updates documentation and adds svc tracking intro and exmpl code.

7 months agoSmall updates in the documentation
Pepijn Noltes [Wed, 9 Feb 2022 17:22:55 +0000 (18:22 +0100)] 
Small updates in the documentation

7 months agoUpdates services documentation
Pepijn Noltes [Wed, 9 Feb 2022 17:02:10 +0000 (18:02 +0100)] 
Updates services documentation

7 months agoUpdate c/cxx readme examples
Pepijn Noltes [Tue, 8 Feb 2022 11:01:18 +0000 (12:01 +0100)] 
Update c/cxx readme examples

7 months agoFixes some incorrect updates
Pepijn Noltes [Mon, 7 Feb 2022 18:44:11 +0000 (19:44 +0100)] 
Fixes some incorrect updates

7 months agoAdds sequence diagram pngs
Pepijn Noltes [Sun, 6 Feb 2022 21:54:37 +0000 (22:54 +0100)] 
Adds sequence diagram pngs

7 months agoUpdates gitignore to allow png and adds png bundle lifecycle
Pepijn Noltes [Sun, 6 Feb 2022 18:09:36 +0000 (19:09 +0100)] 
Updates gitignore to allow png and adds png bundle lifecycle

7 months agoInitial drop of plantuml seq diagrams for services.
Pepijn Noltes [Sun, 6 Feb 2022 14:05:57 +0000 (15:05 +0100)] 
Initial drop of plantuml seq diagrams for services.

8 months agoUpdates Celix intro documentation.
Pepijn Noltes [Wed, 2 Feb 2022 19:00:21 +0000 (20:00 +0100)] 
Updates Celix intro documentation.

Also introduces some new documentation examples

9 months agoMerge pull request #382 from apache/feature/apply_use_stringview
Pepijn Noltes [Fri, 24 Dec 2021 10:59:56 +0000 (11:59 +0100)] 
Merge pull request #382 from apache/feature/apply_use_stringview

Feature/apply use stringview

9 months agoMerge pull request #385 from jermus67/feature/filter_attributes_support
Pepijn Noltes [Fri, 24 Dec 2021 10:59:36 +0000 (11:59 +0100)] 
Merge pull request #385 from jermus67/feature/filter_attributes_support

Added support functions for filters to check for attribute keys that …

9 months agoChanged size_t to int where int was returned, changed const std::string& to std:... 385/head
Jeroen Kouwer [Wed, 22 Dec 2021 23:24:26 +0000 (00:24 +0100)] 
Changed size_t to int where int was returned, changed const std::string& to std::string_view (where possible) and changed strncmp to celix_utils_stringEquals.

9 months agoFix RSA CMake error.
PengZheng [Tue, 14 Dec 2021 07:30:12 +0000 (15:30 +0800)] 
Fix RSA CMake error.

Break cyclic dependency between examples and other RSA tests.

9 months agoMerge pull request #384 from PengZheng/rsa_cmake_fix
Pepijn Noltes [Tue, 21 Dec 2021 15:51:31 +0000 (16:51 +0100)] 
Merge pull request #384 from PengZheng/rsa_cmake_fix

Fix RSA CMake error

9 months agoUpdated documentation.
Jeroen Kouwer [Fri, 17 Dec 2021 08:06:43 +0000 (09:06 +0100)] 
Updated documentation.

9 months agoNarrowed the result to mandatory attributes, optional attributes now return false...
Jeroen Kouwer [Fri, 17 Dec 2021 08:02:13 +0000 (09:02 +0100)] 
Narrowed the result to mandatory attributes, optional attributes now return false. Renamed the functions / methods to reflect the mandatory nature. Updated documentation.

9 months agoAdded support functions for filters to check for attribute keys that indicate that...
Jeroen Kouwer [Thu, 16 Dec 2021 23:23:25 +0000 (00:23 +0100)] 
Added support functions for filters to check for attribute keys that indicate that a value has to be present with a specified value and for attribute keys that indicate that no value may be present.

9 months agoFix RSA CMake error. 384/head
PengZheng [Tue, 14 Dec 2021 07:30:12 +0000 (15:30 +0800)] 
Fix RSA CMake error.

Break cyclic dependency between examples and other RSA tests.

9 months agoReplaces string_view returns to std::string 382/head
Pepijn Noltes [Tue, 7 Dec 2021 17:53:41 +0000 (18:53 +0100)] 
Replaces string_view returns to std::string

9 months agoMerge pull request #373 from apache/feature/cxx17_headers
Pepijn Noltes [Sun, 5 Dec 2021 10:45:45 +0000 (11:45 +0100)] 
Merge pull request #373 from apache/feature/cxx17_headers

Updates C++ header only to C++17

9 months agoApplies use of string_view for all C++17 headers
Pepijn Noltes [Sun, 5 Dec 2021 10:42:18 +0000 (11:42 +0100)] 
Applies use of string_view for all C++17 headers

9 months agoMerge branch 'master' into feature/cxx17_headers 373/head
Pepijn Noltes [Sun, 5 Dec 2021 10:33:21 +0000 (11:33 +0100)] 
Merge branch 'master' into feature/cxx17_headers

9 months agoMerge pull request #376 from PengZheng/tracker-improvements
Pepijn Noltes [Sun, 5 Dec 2021 10:17:43 +0000 (11:17 +0100)] 
Merge pull request #376 from PengZheng/tracker-improvements

Eliminate unnecessary blocking and mutext from useServiceWithOptions.

10 months agoUpdates C++ properties to support string_view if C++17 is used.
Pepijn Noltes [Sun, 28 Nov 2021 16:01:07 +0000 (17:01 +0100)] 
Updates C++ properties to support string_view if C++17 is used.

10 months agoSmall improvements based on pr comments.
Pepijn Noltes [Sun, 28 Nov 2021 15:28:14 +0000 (16:28 +0100)] 
Small improvements based on pr comments.

10 months agoMerge remote-tracking branch 'origin/master' into feature/cxx17_headers
Pepijn Noltes [Sun, 28 Nov 2021 16:04:31 +0000 (17:04 +0100)] 
Merge remote-tracking branch 'origin/master' into feature/cxx17_headers

# Conflicts:
# libs/framework/gtest/src/CxxBundleContextTestSuite.cc
# libs/framework/include/celix_bundle.h

10 months agoMerge pull request #371 from apache/feature/remove_psa_versions_v1
Pepijn Noltes [Sat, 27 Nov 2021 13:44:19 +0000 (14:44 +0100)] 
Merge pull request #371 from apache/feature/remove_psa_versions_v1

Feature/remove psa versions v1

10 months agoMerge pull request #380 from PengZheng/fix-tracker-assertion
Pepijn Noltes [Sun, 21 Nov 2021 14:01:04 +0000 (15:01 +0100)] 
Merge pull request #380 from PengZheng/fix-tracker-assertion

Fix assertion failure when using C++ ServiceTracker in the event loop.

10 months agoMerge pull request #378 from PengZheng/pthread_cond_wait_fix
Pepijn Noltes [Sun, 21 Nov 2021 13:46:02 +0000 (14:46 +0100)] 
Merge pull request #378 from PengZheng/pthread_cond_wait_fix

Fix race condition for celixThreadCondition_timedwaitRelative.

10 months agoMerge pull request #379 from PengZheng/fix-properties-memory-leak
Pepijn Noltes [Sun, 21 Nov 2021 13:42:58 +0000 (14:42 +0100)] 
Merge pull request #379 from PengZheng/fix-properties-memory-leak

Fix memory leak in celix_properties_unset.

10 months agoMerge pull request #377 from apache/hotfix/wrong_ifdef_cplusplus
Pepijn Noltes [Sun, 21 Nov 2021 13:40:02 +0000 (14:40 +0100)] 
Merge pull request #377 from apache/hotfix/wrong_ifdef_cplusplus

Fixes wrong ifdef __cplusplus marcro for extern "C"

10 months agoFix assertion failure when using C++ ServiceTracker in the event loop. 380/head
PengZheng [Tue, 16 Nov 2021 12:07:59 +0000 (20:07 +0800)] 
Fix assertion failure when using C++ ServiceTracker in the event loop.

10 months agoFix memory leak in celix_properties_unset. 379/head
PengZheng [Tue, 16 Nov 2021 03:44:34 +0000 (11:44 +0800)] 
Fix memory leak in celix_properties_unset.

10 months agoFix misuse of CELIX_DO_IF. 378/head
PengZheng [Mon, 15 Nov 2021 11:22:59 +0000 (19:22 +0800)] 
Fix misuse of CELIX_DO_IF.

10 months agoFix race condition for celixThreadCondition_timedwaitRelative.
PengZheng [Mon, 15 Nov 2021 06:35:35 +0000 (14:35 +0800)] 
Fix race condition for celixThreadCondition_timedwaitRelative.

Adjusting system clock between clock_gettime(CLOCK_REALTIME) and
pthread_cond_timedwait may lead to unexpected long blocking. To fix it,
we use CLOCK_MONOTONIC on platforms that support it, while on Mac OS
which does not support CLOCK_MONOTONIC we have
pthread_cond_timedwait_relative_np.

10 months agoFixes wrong ifdef __cplusplus marcro for extern "C" 377/head
Pepijn Noltes [Tue, 9 Nov 2021 18:06:54 +0000 (19:06 +0100)] 
Fixes wrong ifdef __cplusplus marcro for extern "C"

10 months agoRemoves tmp _v2 psa targets 371/head
Pepijn Noltes [Tue, 9 Nov 2021 18:02:29 +0000 (19:02 +0100)] 
Removes tmp _v2 psa targets

10 months agoFix typo in useServiceDoesNotBlockInEventLoop. 376/head
PengZheng [Sat, 6 Nov 2021 15:00:57 +0000 (23:00 +0800)] 
Fix typo in useServiceDoesNotBlockInEventLoop.

10 months agoEliminate unnecessary blocking and mutext from useServiceWithOptions.
PengZheng [Sat, 6 Nov 2021 03:41:22 +0000 (11:41 +0800)] 
Eliminate unnecessary blocking and mutext from useServiceWithOptions.

11 months agoUpdates psa target to drop _v2 postfix
Pepijn Noltes [Sun, 31 Oct 2021 21:36:59 +0000 (22:36 +0100)] 
Updates psa target to drop _v2 postfix

Also adds tmp targets with _v2 postfix to make the transition easier and updates the post used in the pubsub websocket to higher number than 8080

11 months agoAdds additional test for C++11 cep man support
Pepijn Noltes [Sun, 31 Oct 2021 14:48:29 +0000 (15:48 +0100)] 
Adds additional test for C++11 cep man support

11 months agoMerge pull request #375 from jermus67/jermus67-update-documentation
Pepijn Noltes [Sun, 31 Oct 2021 09:47:09 +0000 (10:47 +0100)] 
Merge pull request #375 from jermus67/jermus67-update-documentation

Jermus67 update documentation

11 months agoUpdate celix_bundle.h 375/head
Jeroen Kouwer [Thu, 28 Oct 2021 11:59:08 +0000 (13:59 +0200)] 
Update celix_bundle.h

11 months agoMerge pull request #3 from jermus67/jermus67-patch-documentation
Jeroen Kouwer [Thu, 28 Oct 2021 11:55:30 +0000 (13:55 +0200)] 
Merge pull request #3 from jermus67/jermus67-patch-documentation

Jermus67 patch documentation

11 months agoUpdate celix_bundle.h
Jeroen Kouwer [Thu, 28 Oct 2021 11:49:55 +0000 (13:49 +0200)] 
Update celix_bundle.h

11 months agoUpdate Bundle.h
Jeroen Kouwer [Thu, 28 Oct 2021 11:47:58 +0000 (13:47 +0200)] 
Update Bundle.h

11 months agoUpdate celix_bundle.h
Jeroen Kouwer [Thu, 28 Oct 2021 11:42:15 +0000 (13:42 +0200)] 
Update celix_bundle.h

11 months agoUpdate Bundle.h
Jeroen Kouwer [Thu, 28 Oct 2021 11:38:57 +0000 (13:38 +0200)] 
Update Bundle.h

11 months agoMerge pull request #374 from apache/etcdlib-linebreaks
Roy Lenferink [Wed, 13 Oct 2021 05:26:04 +0000 (07:26 +0200)] 
Merge pull request #374 from apache/etcdlib-linebreaks

Update etcdlib to be consistent with line breaks

11 months agoUpdate etcdlib to be consistent with line breaks 374/head
Roy Lenferink [Tue, 12 Oct 2021 16:23:43 +0000 (18:23 +0200)] 
Update etcdlib to be consistent with line breaks

11 months agoMerge pull request #372 from apache/feature/remote_pushstream
Pepijn Noltes [Tue, 12 Oct 2021 12:03:05 +0000 (14:03 +0200)] 
Merge pull request #372 from apache/feature/remote_pushstream

Initial version of test showing remote pushstreams

11 months agosolving non-discard 372/head
stegemanr [Mon, 11 Oct 2021 12:09:48 +0000 (14:09 +0200)] 
solving non-discard

11 months agoRelaxing interface
stegemanr [Mon, 11 Oct 2021 11:57:28 +0000 (13:57 +0200)] 
Relaxing interface

11 months agoreview rework
stegemanr [Mon, 11 Oct 2021 06:59:55 +0000 (08:59 +0200)] 
review rework

11 months agoAdding primary documentation
stegemanr [Mon, 11 Oct 2021 06:48:44 +0000 (08:48 +0200)] 
Adding primary documentation
Prepare promisefactory as service in PushStreamProvider

11 months agoUpdates C++ header only to C++17, except the for already existing C++ Dep Man headers
Pepijn Noltes [Sun, 10 Oct 2021 16:48:33 +0000 (18:48 +0200)] 
Updates C++ header only to C++17, except the for already existing C++ Dep Man headers

11 months agoInitial version of test showing remote pushstreams
stegemanr [Fri, 8 Oct 2021 08:58:32 +0000 (10:58 +0200)] 
Initial version of test showing remote pushstreams

11 months agoMerge pull request #363 from stegemr/feature/pushstream
Pepijn Noltes [Thu, 7 Oct 2021 21:24:06 +0000 (23:24 +0200)] 
Merge pull request #363 from stegemr/feature/pushstream

Feature/pushstream

11 months agoRemoves integration test for pubsub_admin _v1 versions
Pepijn Noltes [Thu, 7 Oct 2021 18:41:43 +0000 (20:41 +0200)] 
Removes integration test for pubsub_admin _v1 versions

11 months agoRemoves pubsub admin _v1 versions
Pepijn Noltes [Thu, 7 Oct 2021 18:32:21 +0000 (20:32 +0200)] 
Removes pubsub admin _v1 versions

11 months agoReview rework 363/head
stegemanr [Thu, 7 Oct 2021 10:51:02 +0000 (12:51 +0200)] 
Review rework

11 months agoMerge branch 'apache:master' into feature/pushstream
stegemr [Thu, 7 Oct 2021 09:43:51 +0000 (11:43 +0200)] 
Merge branch 'apache:master' into feature/pushstream

11 months agoMerge pull request #370 from apache/feature/robust_promise_fail_and_resolve
Pepijn Noltes [Wed, 6 Oct 2021 09:39:11 +0000 (11:39 +0200)] 
Merge pull request #370 from apache/feature/robust_promise_fail_and_resolve

Updates Promise `resolve` and `fail` functions to make them robust.

11 months agoMerge pull request #369 from apache/feature/deadlock_on_stop_cmd
Pepijn Noltes [Wed, 6 Oct 2021 08:33:33 +0000 (10:33 +0200)] 
Merge pull request #369 from apache/feature/deadlock_on_stop_cmd

Feature/deadlock on stop cmd

11 months agoUpdates promise readme for tryFail/tryResolve 370/head
Pepijn Noltes [Wed, 6 Oct 2021 08:32:55 +0000 (10:32 +0200)] 
Updates promise readme for tryFail/tryResolve

11 months agoUpdates Promise `resolve` and `fail` so make them robust.
Pepijn Noltes [Tue, 5 Oct 2021 15:52:26 +0000 (17:52 +0200)] 
Updates Promise `resolve` and `fail` so make them robust.

Also add a `tryResolve` and `tryFail` alternative to be able to resolve a promise
and check if it was already resolved.

12 months agoMerge pull request #368 from stegemr/feature/fixVoidPromiseExceptions
Pepijn Noltes [Sun, 3 Oct 2021 12:09:24 +0000 (14:09 +0200)] 
Merge pull request #368 from stegemr/feature/fixVoidPromiseExceptions

Fixing slicing of exception in Promise<void>

12 months agoMerge pull request #367 from apache/feature/handle_etcd_bad_request_for_GET
Pepijn Noltes [Sun, 3 Oct 2021 12:09:06 +0000 (14:09 +0200)] 
Merge pull request #367 from apache/feature/handle_etcd_bad_request_for_GET

Use etcd header index instead of modified index for ETCD GET call

12 months agoSmall update in comments/doxygen 369/head
Pepijn Noltes [Sun, 3 Oct 2021 12:04:35 +0000 (14:04 +0200)] 
Small update in comments/doxygen

12 months agoAdds async install,start,stop and uninstall bundle command for use in the shell commands
Pepijn Noltes [Sun, 3 Oct 2021 11:49:18 +0000 (13:49 +0200)] 
Adds async install,start,stop and uninstall bundle command for use in the shell commands

Bundle lifecycle shell commands need to be async to prevent deadlock issue. For example when a `stop` is used to stop the shell bundle.

Also refactor shell_tui and introduces unit test for the shell_tui.

12 months agoFixing slicing of exception in Promise<void> 368/head
stegemanr [Wed, 29 Sep 2021 06:58:52 +0000 (08:58 +0200)] 
Fixing slicing of exception in Promise<void>

12 months agofix ident 367/head
Roy Bulter [Sun, 19 Sep 2021 18:00:49 +0000 (20:00 +0200)] 
fix ident

12 months agoMerge branch 'master' into feature/handle_etcd_bad_request_for_GET
Roy Bulter [Wed, 15 Sep 2021 18:35:31 +0000 (20:35 +0200)] 
Merge branch 'master' into feature/handle_etcd_bad_request_for_GET

12 months agoMerge pull request #366 from jermus67/fix/typo-in-add-celix-container
Pepijn Noltes [Wed, 15 Sep 2021 17:19:24 +0000 (19:19 +0200)] 
Merge pull request #366 from jermus67/fix/typo-in-add-celix-container

Update ContainerPackaging.cmake

12 months agoUpdate ContainerPackaging.cmake 366/head
Jeroen Kouwer [Wed, 15 Sep 2021 14:53:58 +0000 (16:53 +0200)] 
Update ContainerPackaging.cmake

12 months agoMerge pull request #364 from apache/hotfix/promise_exception_test
Pepijn Noltes [Wed, 15 Sep 2021 14:29:28 +0000 (16:29 +0200)] 
Merge pull request #364 from apache/hotfix/promise_exception_test

Updates exception test to ensure a predictable exception.what()

12 months agoMerge pull request #365 from stegemr/feature/FixExceptions
Pepijn Noltes [Wed, 15 Sep 2021 14:10:08 +0000 (16:10 +0200)] 
Merge pull request #365 from stegemr/feature/FixExceptions

Correcting and testing Exceptions

12 months agoCorrecting and testing Exceptions 365/head
stegemanr [Wed, 15 Sep 2021 08:45:53 +0000 (10:45 +0200)] 
Correcting and testing Exceptions

12 months agoUpdates exception test to ensure a predictable exception.what() 364/head
Pepijn Noltes [Tue, 14 Sep 2021 20:17:09 +0000 (22:17 +0200)] 
Updates exception test to ensure a predictable exception.what()

12 months agoMerge pull request #361 from apache/PR358_match_admin_name_fix
Erjan Altena [Mon, 13 Sep 2021 19:04:58 +0000 (21:04 +0200)] 
Merge pull request #361 from apache/PR358_match_admin_name_fix

#358 Fix for comparing with same string with extension

12 months agoMerge pull request #362 from stegemr/feature/bugfix_ExceptionSlice
Pepijn Noltes [Mon, 13 Sep 2021 17:23:50 +0000 (19:23 +0200)] 
Merge pull request #362 from stegemr/feature/bugfix_ExceptionSlice

remove unwanted slicing of exception type

12 months agoMerge pull request #360 from apache/feature/promise_timeout_memleak
Pepijn Noltes [Mon, 13 Sep 2021 17:22:04 +0000 (19:22 +0200)] 
Merge pull request #360 from apache/feature/promise_timeout_memleak

Feature/promise timeout memleak

12 months agoSmall update/fix in http websocket tests 360/head
Pepijn Noltes [Mon, 13 Sep 2021 14:25:52 +0000 (16:25 +0200)] 
Small update/fix in http websocket tests

12 months agoReintroduces const function signature for PromiseFactory
Pepijn Noltes [Mon, 13 Sep 2021 13:41:01 +0000 (15:41 +0200)] 
Reintroduces const function signature for PromiseFactory

12 months agoremove unwanted slicing of exception type 362/head
stegemanr [Fri, 10 Sep 2021 12:33:19 +0000 (14:33 +0200)] 
remove unwanted slicing of exception type

12 months agoMerge branch 'apache:master' into feature/pushstream
stegemr [Fri, 10 Sep 2021 11:24:01 +0000 (13:24 +0200)] 
Merge branch 'apache:master' into feature/pushstream

12 months agoUse etcd header index instead of modified index for ETCD GET call
Roy Bulter [Fri, 10 Sep 2021 07:45:52 +0000 (09:45 +0200)] 
Use etcd header index instead of modified index for ETCD GET call

12 months ago#358 Fix for comparing with same string with extension 361/head
Erjan Altena [Mon, 6 Sep 2021 18:01:35 +0000 (20:01 +0200)] 
#358 Fix for comparing with same string with extension

12 months agoRemoves now unneeded promise timeout workaround
Pepijn Noltes [Tue, 7 Sep 2021 18:30:39 +0000 (20:30 +0200)] 
Removes now unneeded promise timeout workaround

12 months agoFixes wrong exception class name
Pepijn Noltes [Mon, 6 Sep 2021 19:05:12 +0000 (21:05 +0200)] 
Fixes wrong exception class name

12 months agoAdds Promise<void> return to Deferred::resolveWith
Pepijn Noltes [Mon, 6 Sep 2021 18:25:39 +0000 (20:25 +0200)] 
Adds Promise<void> return to Deferred::resolveWith

12 months agoRefactors promises to ensure unresolved promises can be handled with a timeout.
Pepijn Noltes [Mon, 6 Sep 2021 15:07:09 +0000 (17:07 +0200)] 
Refactors promises to ensure unresolved promises can be handled with a timeout.

12 months agoMerge pull request #325 from apache/feature/utils_zip_extract
Pepijn Noltes [Sun, 5 Sep 2021 17:43:50 +0000 (19:43 +0200)] 
Merge pull request #325 from apache/feature/utils_zip_extract

Feature/utils zip extract

12 months agoAdds libzip to CI config 325/head
Pepijn Noltes [Sun, 5 Sep 2021 16:53:56 +0000 (18:53 +0200)] 
Adds libzip to CI config

12 months agoMerge branch 'master' into feature/utils_zip_extract
Pepijn Noltes [Sun, 5 Sep 2021 16:52:20 +0000 (18:52 +0200)] 
Merge branch 'master' into feature/utils_zip_extract

# Conflicts:
# .github/workflows/coverage.yml
# .github/workflows/coverity-scan.yml
# .github/workflows/macos-nightly.yml
# .github/workflows/macos.yml
# .github/workflows/ubuntu-nightly.yml
# .github/workflows/ubuntu.yml

13 months agoMerge pull request #359 from apache/feature/add_find_dep_to_cmake_config
Pepijn Noltes [Tue, 31 Aug 2021 19:08:22 +0000 (21:08 +0200)] 
Merge pull request #359 from apache/feature/add_find_dep_to_cmake_config

Feature/add find dep to cmake config

13 months agoFixes some copy/paste errors and update documentation for libzip
Pepijn Noltes [Mon, 30 Aug 2021 18:40:33 +0000 (20:40 +0200)] 
Fixes some copy/paste errors and update documentation for libzip

13 months agoUpdates the use of find_dependency based on imported targets 359/head
Pepijn Noltes [Sat, 28 Aug 2021 15:16:57 +0000 (17:16 +0200)] 
Updates the use of find_dependency based on imported targets

13 months agoUpdates cmake sources ref to comply to CMP0115
Pepijn Noltes [Sat, 28 Aug 2021 15:05:59 +0000 (17:05 +0200)] 
Updates cmake sources ref to comply to CMP0115

cmake CMP0115 policy makes source files extensions mandatory.