diff options
author | Gaurav Khanna <gkhanna@microsoft.com> | 2016-08-24 12:33:27 -0700 |
---|---|---|
committer | Gaurav Khanna <gkhanna@microsoft.com> | 2016-08-24 12:33:27 -0700 |
commit | 6b5695013d972fd1239241a6613865749123e0fa (patch) | |
tree | 02011edecfa3269c210ffb8321e009a4b82576b5 | |
parent | ad7c799eb9a2ae1e7371c75655d4b244e196b239 (diff) | |
download | coreclr-6b5695013d972fd1239241a6613865749123e0fa.tar.gz coreclr-6b5695013d972fd1239241a6613865749123e0fa.tar.bz2 coreclr-6b5695013d972fd1239241a6613865749123e0fa.zip |
Some minor changes.
-rw-r--r-- | CMakeLists.txt | 8 | ||||
-rw-r--r-- | src/debug/ee/wks/CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/vm/wks/CMakeLists.txt | 3 |
3 files changed, 7 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ab86511a0e..a40d7f284d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -11,9 +11,11 @@ project(CoreCLR) # Include cmake functions include(functions.cmake) -message(STATUS "CMAKE_VS_PLATFORM_TOOLSET is ${CMAKE_VS_PLATFORM_TOOLSET}") -message(STATUS "CMAKE_VS_PLATFORM_NAME is ${CMAKE_VS_PLATFORM_NAME}") -message(STATUS "CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION is ${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}") +if (WIN32) + message(STATUS "VS_PLATFORM_TOOLSET is ${CMAKE_VS_PLATFORM_TOOLSET}") + message(STATUS "VS_PLATFORM_NAME is ${CMAKE_VS_PLATFORM_NAME}") + message(STATUS "VS_WINDOWS_TARGET_PLATFORM_VERSION is ${CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION}") +endif (WIN32) # Set commonly used directory names set(CLR_DIR ${CMAKE_CURRENT_SOURCE_DIR}) diff --git a/src/debug/ee/wks/CMakeLists.txt b/src/debug/ee/wks/CMakeLists.txt index 1f6d435d8a..a096cbfca7 100644 --- a/src/debug/ee/wks/CMakeLists.txt +++ b/src/debug/ee/wks/CMakeLists.txt @@ -23,7 +23,7 @@ if(CLR_CMAKE_PLATFORM_ARCH_ARM64) elseif(CLR_CMAKE_PLATFORM_ARCH_ARM) # On Arm32 for Windows, use C++ compiler to process the .asm since it includes C-style headers. - set(DBGHELPERS_ASM $ENV{__IntermediatesDir}/dbghelpers.asm) + set(DBGHELPERS_ASM ${CMAKE_CURRENT_BINARY_DIR}/dbghelpers.asm) set(ASM_OPTIONS " -g ") preprocess_def_file(${ASM_FILE} ${DBGHELPERS_ASM}) diff --git a/src/vm/wks/CMakeLists.txt b/src/vm/wks/CMakeLists.txt index 48ca6b0803..360845d0b2 100644 --- a/src/vm/wks/CMakeLists.txt +++ b/src/vm/wks/CMakeLists.txt @@ -30,7 +30,7 @@ if (WIN32) # Inserts a custom command in CMake build to preprocess each asm source file get_filename_component(name ${ASM_FILE} NAME_WE) - file(TO_CMAKE_PATH "$ENV{__IntermediatesDir}/${name}.asm" ASM_PREPROCESSED_FILE) + file(TO_CMAKE_PATH "${CMAKE_CURRENT_BINARY_DIR}/${name}.asm" ASM_PREPROCESSED_FILE) preprocess_def_file(${ASM_FILE} ${ASM_PREPROCESSED_FILE}) # On Arm32, compile the preprocessed binary to .obj @@ -40,7 +40,6 @@ if (WIN32) # Generate the batch file that will invoke the assembler file(TO_CMAKE_PATH "${CMAKE_CURRENT_BINARY_DIR}/runasm_${name}_${CMAKE_BUILD_TYPE}.cmd" ASM_SCRIPT_FILE) - # ARM32TODO: Set asm options global so that all invocations can use it. file(GENERATE OUTPUT "${ASM_SCRIPT_FILE}" CONTENT "\"${CMAKE_ASM_MASM_COMPILER}\" -g ${ASM_INCLUDE_DIRECTORIES} ${ASM_DEFINITIONS} ${ASM_CMDLINE}") |