|author||Gerald Combs <firstname.lastname@example.org>||2016-03-25 11:23:16 -0700|
|committer||Gerald Combs <email@example.com>||2016-03-25 18:39:40 +0000|
CMake: Add a note about CMAKE_TRY_COMPILE_CONFIGURATION.
Note that CMAKE_TRY_COMPILE_CONFIGURATION can noticeably affect the run time of MSBuild, which in turn affects try_compile, which we call many, many times. Change-Id: I041d00e647ab570ec14f7c78b1d1d6806ac31ce4 Reviewed-on: https://code.wireshark.org/review/14630 Reviewed-by: Gerald Combs <firstname.lastname@example.org>
Diffstat (limited to 'README.cmake')
1 files changed, 5 insertions, 0 deletions
diff --git a/README.cmake b/README.cmake
index d72cd1abb7..03b72fbe45 100644
@@ -64,6 +64,11 @@ Note 1:
-G "CodeBlocks - Unix Makefiles"
-G "CodeBlocks - NMake Makefiles"
+ # We call try_compile many times, particularly via ConfigureChecks.cmake.
+ # Setting a lightweight try_compile configuration can speed up cmake,
+ # particularly for MSBuild.
After running cmake, you can always run "make help" to see
a list of all possible make targets.