summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CPack/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Fix RunCMake infrastructure for LCC and CMP0129Brad King2023-04-031-4/+0
| | | | | | | | | | Since commit 3958ed878f (LCC: Add policy CMP0129 regarding interpreting LCC as GNU, 2021-10-19, v3.23.0-rc1~508^2) we intended to enable policy `CMP0129` in RunCMake tests via `-DCMAKE_POLICY_DEFAULT_CMP0129=NEW`. Fix the condition activating that to check `CMAKE_C_COMPILER_ID` where it is always available. Remove now-unnecessary CMP0129 settings in RunCMake cases.
* Tests/RunCMake: Update cmake_minimum_required versionsBrad King2023-02-111-1/+1
| | | | | | | | For policy-specific tests, use the version before the policy was introduced. Otherwise, use 3.5 where possible. Also, remove `cmake_minimum_required()` and `project()` calls from individual cases where they are handled by `CMakeLists.txt`.
* LCC: Add policy CMP0129 regarding interpreting LCC as GNUmakise-homura2021-10-211-0/+4
| | | | | | | | | | Due to MCST LCC compiler identification is now changed to LCC, there should be a way for old projects to still identify it as GNU, as it was before. This commits adds the policy: CMP0129: Compiler id for MCST LCC compilers is now LCC, not GNU. This policy controls such a behavior. OLD behaivior is to treat LCC as GNU, NEW is to treat is as LCC.
* CPack: extend testing frameworkDomen Vrankar2017-08-191-0/+4
| | | | | | | | | Some CPack tests require running commands after the inclusion of CPack.cmake and this patch enables such tests to declare run_after_include_cpack function which is run after the inclusion.
* Tests: CPack test set packaging typeDomen Vrankar2016-11-271-0/+6
| | | | | | | | | CPack tests can now define one or more packaging types and that test will be executed once per generator per packaging type. This also enables us to set default values per packaging type for each generator which makes tests shorter.
* Tests: CPack test merge generator specificsDomen Vrankar2016-11-271-5/+0
| | | | | Merge test generator specifics into test itself.
* Tests: CPack move tests to separate dirDomen Vrankar2016-11-271-1/+1
| | | | | | For greater transparency tests are moved to a subfolder with each test having its own dir.
* Tests: CPack test should use default package nameDomen Vrankar2016-11-271-0/+4
| | | | | | | | Package names are irrelevant for most CPack tests so tests now set default package name that is created from test name and used if it is not explicitly provided in the test.
* Tests: Add subtest support to RunCMake/CPack infrastructureDomen Vrankar2016-09-191-3/+3
|
* CPack: remove accidental changesDomen Vrankar2015-09-231-1/+1
| | | | | Remove changes accidentally included in commit b58de9fe (CPack: allow packaging of empty directories, 2015-09-22).
* CPack: allow packaging of empty directoriesDomen Vrankar2015-09-221-1/+1
|
* Tests/RunCMake/CPack: Enable CXX language in testsDomen Vrankar2015-08-061-1/+1
| | | | | Enable CXX language for CPack tests so that they may compile binaries if needed.
* Tests: Add RunCMake tests for CPack{Deb,RPM}Domen Vrankar2015-06-151-0/+12
Add script structure for easier addition of new CPack related tests.