This website requires JavaScript.
Explore
Help
Sign In
kolan
/
CMake
Watch
1
Star
0
Fork
0
You've already forked CMake
Code
Issues
Pull Requests
Releases
Wiki
Activity
CMake
/
Tests
/
RunCMake
/
try_compile
/
src.c
5 lines
80 B
C
Raw
Normal View
History
Unescape
Escape
try_compile: Add test for bad call error cases Add a RunCMake.try_compile test to cover cases of bad invocation of the try_compile command.
2013-05-15 15:19:20 -04:00
int
main
(
void
)
{
return
0
;
}
try_compile: Honor CMAKE_<LANG>_FLAGS_<CONFIG> changes (#16054) In the `try_compile` source file signature we propagate the caller's value of `CMAKE_<LANG>_FLAGS` into the test project. Extend this to propagate `CMAKE_<LANG>_FLAGS_<CONFIG>` too instead of always using the default value in the test project. This will be useful, for example, to allow the MSVC runtime library to be changed (e.g. `-MDd` => `-MTd`).
2016-04-11 10:45:56 -04:00
#
ifdef PP_ERROR
#
error PP_ERROR is defined
#
endif
Reference in New Issue
Copy Permalink