aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2019-10-22cmake: Create a static cmocka library for testingAndreas Schneider1-26/+37
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2019-10-16cmake: Make shared lib optionalArnaud Gelas1-62/+34
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2018-11-23cmake: Add runtime destination to cmocka installationAnderson Toshiyuki Sasaki1-0/+2
If "RUNTIME DESTINATION" is not provided in install(), the generated *.dll files are not installed in Windows because they are treated as runtime artifacts. Fixes #13 Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2018-09-27cmake: Use cmocka-static as the static namecmocka-1.1.3Andreas Schneider1-1/+1
2018-09-27cmake: Fix CMOCKA_DLL_PATH for WindowsAndreas Schneider1-17/+0
2018-09-27cmake: Specify ARCHIVE DESTINATION for cmocka library on WindowsAndreas Schneider1-0/+2
This is needed to correctly install the dll on Windows
2018-09-27cmake: Only install static lib if requestedAndreas Schneider1-10/+12
2018-09-27cmake: Use cmocka as the shared library nameAndreas Schneider1-16/+1
cmocka_static as the static library name
2018-09-11cmake: Fix linking with -fstack-protector* on SolarisAndreas Schneider1-18/+22
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-09-10cmake: Use GNUInstallDirsAndreas Schneider1-12/+12
2018-09-10cmake: Use modern cmake to compile cmockaAndreas Schneider1-19/+33
2018-09-10cmake: Mark CMOCKA_PLATFORM_INCLUDE as advancedAndreas Schneider1-0/+1
2018-08-22cmake: Add new CompilerCheck.cmakeAndreas Schneider1-1/+2
2018-06-07cmake: Do not change the static name on WindowsAndreas Schneider1-0/+9
2018-05-30cmake: Disable reading the DLL locations on non WIN32 platformsAndreas Schneider1-7/+9
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2017-08-22cmake: Allow to use cmocka as a sub projectAndreas Schneider1-2/+2
Thanks to Kristian Theilgaard for the initial fixes.
2015-02-12cmake: Always set correct output name.Andreas Schneider1-4/+8
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-12cmake: Fix executing test examples on Windows.Andreas Schneider1-12/+28
The executable need the path to dll set so they can be run successfully. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2015-02-10cmocka: Allow include of cmocka_platform.hAndreas Schneider1-0/+6
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2012-10-15example: Move examples to top level dir.Andreas Schneider1-3/+0
2012-10-15include: Move include dir to top level.Andreas Schneider1-2/+1
2012-10-09cmake: Add an option to turn on unit testing.Andreas Schneider1-1/+3
2012-06-14Rename cmokery to cmocka for a fork.Andreas Schneider1-32/+32
2011-05-31build: Added a def file for windows build.Andreas Schneider1-0/+7
This exports the symbols which are needed to get a .lib file.
2011-05-31build: Added example build.Andreas Schneider1-0/+3
2011-05-31build: Added CMake build of cmockery.Andreas Schneider1-0/+84