FindIce: Add support for separate Freeze NuGet package
In addition to finding the zeroc.ice.${toolset}
package, also search for the optional zeroc.freeze.${toolset}
package in order to continue to support the Freeze component with Ice 3.7.0.
Sample output with VS2015 and Ice 3.7.0. All the lines with zeroc.freeze
are autodetecting executables, libraries and headers for the Freeze component.
d:\icetest\build>cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_PREFIX_PATH:PATH=d:\ -DIce_DEBUG=ON ..
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Ice version: 3.7.0
-- Found the following Ice libraries:
-- Ice (required)
-- Glacier2 (required)
-- Freeze (required)
-- --------FindIce.cmake search debug--------
-- ICE binary path search order: D:/zeroc.ice.v140.3.7.0;D:/zeroc.freeze.v140.3.7.0;C:/Program Files (x86)/ZeroC/Ice-3.6.3;C:/Program Files (x86)/ZeroC/Ice-3.5.1
-- ICE binary suffixes: build/native/bin/x64/Release;tools;bin/vc140/x64;bin/vc140;bin/x64;bin
-- ICE include path search order: D:/zeroc.ice.v140.3.7.0;D:/zeroc.freeze.v140.3.7.0;C:/Program Files (x86)/ZeroC/Ice-3.6.3;C:/Program Files (x86)/ZeroC/Ice-3.5.1
-- ICE include suffixes: build/native/include;include
-- ICE slice path search order: D:/zeroc.ice.v140.3.7.0;D:/zeroc.freeze.v140.3.7.0;C:/Program Files (x86)/ZeroC/Ice-3.6.3;C:/Program Files (x86)/ZeroC/Ice-3.5.1 /usr/local/share;/usr/share
-- ICE slice suffixes: slice;Ice-3.7.0/slice;Ice-3.7/slice;ice/slice;Ice
-- ICE library path search order: D:/zeroc.ice.v140.3.7.0;D:/zeroc.freeze.v140.3.7.0;C:/Program Files (x86)/ZeroC/Ice-3.6.3;C:/Program Files (x86)/ZeroC/Ice-3.5.1
-- ICE debug library suffixes: build/native/lib/x64/Debug;lib/vc140/x64;lib/vc140;libx32;lib64;lib/x64;lib
-- ICE release library suffixes: build/native/lib/x64/Release;lib/vc140/x64;lib/vc140;libx32;lib64;lib/x64;lib
-- ----------------
-- Found Ice: D:/zeroc.ice.v140.3.7.0/tools/slice2cpp.exe (found suitable version "3.7.0", minimum required is "3.5.0")
-- --------FindIce.cmake results debug--------
-- Ice_VERSION number: 3.7.0
-- Ice_HOME directory:
-- Ice_INCLUDE_DIR directory: D:/zeroc.ice.v140.3.7.0/build/native/include
-- Ice_SLICE_DIR directory: D:/zeroc.ice.v140.3.7.0/slice
-- Ice_LIBRARIES: optimized;D:/zeroc.ice.v140.3.7.0/build/native/lib/x64/Release/ice37.lib;debug;D:/zeroc.ice.v140.3.7.0/build/native/lib/x64/Debug/ice37d.lib;optimized;D:/zeroc.ice.v140.3.7.0/build/native/lib/x64/Release/glacier237.lib;debug;D:/zeroc.ice.v140.3.7.0/build/native/lib/x64/Debug/glacier237d.lib;optimized;D:/zeroc.freeze.v140.3.7.0/build/native/lib/x64/Release/freeze37.lib;debug;D:/zeroc.freeze.v140.3.7.0/build/native/lib/x64/Debug/freeze37d.lib
-- Freeze_INCLUDE_DIR directory: D:/zeroc.freeze.v140.3.7.0/build/native/include
-- Ice_INCLUDE_DIRS directory: D:/zeroc.ice.v140.3.7.0/build/native/include;D:/zeroc.freeze.v140.3.7.0/build/native/include
-- db_archive executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/db_archive.exe
-- db_checkpoint executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/db_checkpoint.exe
-- db_deadlock executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/db_deadlock.exe
-- db_dump executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/db_dump.exe
-- db_hotbackup executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/db_hotbackup.exe
-- db_load executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/db_load.exe
-- db_log_verify executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/db_log_verify.exe
-- db_printlog executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/db_printlog.exe
-- db_recover executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/db_recover.exe
-- db_stat executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/db_stat.exe
-- db_tuner executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/db_tuner.exe
-- db_upgrade executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/db_upgrade.exe
-- db_verify executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/db_verify.exe
-- dumpdb executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/dumpdb.exe
-- transformdb executable: D:/zeroc.freeze.v140.3.7.0/build/native/bin/x64/Release/transformdb.exe
-- glacier2router executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/glacier2router.exe
-- icebox executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/icebox.exe
-- icebox++11 executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/icebox++11.exe
-- iceboxadmin executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/iceboxadmin.exe
-- iceboxd executable: C:/Program Files (x86)/ZeroC/Ice-3.6.3/bin/vc140/x64/iceboxd.exe
-- iceboxnet executable: C:/Program Files (x86)/ZeroC/Ice-3.6.3/bin/iceboxnet.exe
-- icebridge executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/icebridge.exe
-- icegridadmin executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/icegridadmin.exe
-- icegriddb executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/icegriddb.exe
-- icegridnode executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/icegridnode.exe
-- icegridnoded executable: C:/Program Files (x86)/ZeroC/Ice-3.6.3/bin/vc140/x64/icegridnoded.exe
-- icegridregistry executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/icegridregistry.exe
-- icegridregistryd executable: C:/Program Files (x86)/ZeroC/Ice-3.6.3/bin/vc140/x64/icegridregistryd.exe
-- icepatch2calc executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/icepatch2calc.exe
-- icepatch2client executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/icepatch2client.exe
-- icepatch2server executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/icepatch2server.exe
-- iceserviceinstall executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/iceserviceinstall.exe
-- icestormadmin executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/icestormadmin.exe
-- icestormdb executable: D:/zeroc.ice.v140.3.7.0/build/native/bin/x64/Release/icestormdb.exe
-- icestormmigrate executable: C:/Program Files (x86)/ZeroC/Ice-3.6.3/bin/vc140/x64/icestormmigrate.exe
-- slice2cpp executable: D:/zeroc.ice.v140.3.7.0/tools/slice2cpp.exe
-- slice2cs executable: D:/zeroc.ice.v140.3.7.0/tools/slice2cs.exe
-- slice2freezej executable: D:/zeroc.freeze.v140.3.7.0/tools/slice2freezej.exe
-- slice2freeze executable: D:/zeroc.freeze.v140.3.7.0/tools/slice2freeze.exe
-- slice2html executable: D:/zeroc.ice.v140.3.7.0/tools/slice2html.exe
-- slice2java executable: D:/zeroc.ice.v140.3.7.0/tools/slice2java.exe
-- slice2js executable: D:/zeroc.ice.v140.3.7.0/tools/slice2js.exe
-- slice2objc executable: D:/zeroc.ice.v140.3.7.0/tools/slice2objc.exe
-- slice2php executable: D:/zeroc.ice.v140.3.7.0/tools/slice2php.exe
-- slice2py executable: D:/zeroc.ice.v140.3.7.0/tools/slice2py.exe
-- slice2rb executable: D:/zeroc.ice.v140.3.7.0/tools/slice2rb.exe
-- Ice library found: TRUE
-- Ice library: optimized;D:/zeroc.ice.v140.3.7.0/build/native/lib/x64/Release/ice37.lib;debug;D:/zeroc.ice.v140.3.7.0/build/native/lib/x64/Debug/ice37d.lib
-- Glacier2 library found: ON
-- Glacier2 library: optimized;D:/zeroc.ice.v140.3.7.0/build/native/lib/x64/Release/glacier237.lib;debug;D:/zeroc.ice.v140.3.7.0/build/native/lib/x64/Debug/glacier237d.lib
-- Freeze library found: ON
-- Freeze library: optimized;D:/zeroc.freeze.v140.3.7.0/build/native/lib/x64/Release/freeze37.lib;debug;D:/zeroc.freeze.v140.3.7.0/build/native/lib/x64/Debug/freeze37d.lib
-- ----------------
-- Configuring done
-- Generating done
-- Build files have been written to: D:/icetest/build
Edited by Roger Leigh