codegen/CMakeLists.txt

Mon, 28 Jul 2014 03:34:05 +0300

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Mon, 28 Jul 2014 03:34:05 +0300
changeset 855
e16f1587ef44
parent 845
fec7023e91a7
permissions
-rw-r--r--

- fixed compilation on windows systems

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