mirror of
https://github.com/reactos/CMake.git
synced 2024-12-15 15:48:52 +00:00
5ba2c9e5e0
Fixes: #16469
11 lines
319 B
CMake
11 lines
319 B
CMake
cmake_minimum_required(VERSION 2.8.12)
|
|
project(VSNASM C ASM_NASM)
|
|
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
|
|
add_definitions(-DTESTx64)
|
|
string(APPEND CMAKE_ASM_NASM_FLAGS " -DTEST2x64")
|
|
else()
|
|
add_definitions(-DTESTi386)
|
|
endif()
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
add_executable(VSNASM main.c foo.asm)
|