From 9ba26ce902b59a87611f88a8e6cc38f1c4da499a Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Wed, 3 Dec 2014 00:06:37 +0000 Subject: [PATCH] Add a header to the build stating architecture being built for git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4731 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index ac13f5468..6d2c4d80e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -106,6 +106,16 @@ CMAKE_DEPENDENT_OPTION (WSJT_INCLUDE_KVASD "Include kvasd in the package." OFF "NOT is_debug_build" ON) +set (PROJECT_ARCHITECTURE "${CMAKE_SYSTEM_PROCESSOR}") +if (NOT PROJECT_ARCHITECTURE) + # This is supposed to happen already on Windows + set (PROJECT_ARCHITECTURE "$ENV{PROCESSOR_ARCHITECTURE}") +endif (NOT PROJECT_ARCHITECTURE) +message (STATUS "******************************************************") +message (STATUS "Building for for: ${CMAKE_SYSTEM_NAME}-${PROJECT_ARCHITECTURE}") +message (STATUS "******************************************************") + + # # install locations #