codegen/CMakeLists.txt

Thu, 29 Mar 2018 12:09:04 +0300

author
Teemu Piippo <teemu@hecknology.net>
date
Thu, 29 Mar 2018 12:09:04 +0300
branch
experimental
changeset 1357
e034b1d10147
parent 855
e16f1587ef44
permissions
-rw-r--r--

Branch close header

cmake_minimum_required (VERSION 2.4)
add_executable (codegen codegen.cpp)

# 
# LDForge uses alternative operators. GCC and Clang use these by default but MSVC does not.
# So we'll have to tell MSVC to use these alternative operators
# 
if (MSVC)
	set_target_properties (codegen PROPERTIES COMPILE_FLAGS "/Za")
endif()

mercurial