mirror of
https://github.com/reactos/CMake.git
synced 2025-01-27 06:42:32 +00:00
7a649111cd
Automate with: find Tests -type f -print0 | xargs -0 perl -i -0pe \ 's/set\(([a-zA-Z0-9_]+)(\s+)"\$\{\1\}([^"])/string(APPEND \1\2"\3/g'
11 lines
317 B
CMake
11 lines
317 B
CMake
cmake_minimum_required(VERSION 2.8.12)
|
|
project(VSMASM C ASM_MASM)
|
|
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
|
add_definitions(-DTESTx64)
|
|
else()
|
|
add_definitions(-DTESTi386)
|
|
string(APPEND CMAKE_ASM_MASM_FLAGS " /safeseh")
|
|
endif()
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
add_executable(VSMASM main.c foo.asm)
|