blob: f2570a30919e12b5c78975c6c50a0a3ee2d03ec2 (
plain)
1
2
3
4
5
6
7
8
9
10
|
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)
set(CMAKE_ASM_MASM_FLAGS "${CMAKE_ASM_MASM_FLAGS} /safeseh")
endif()
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
add_executable(VSMASM main.c foo.asm)
|