codegen/CMakeLists.txt

Mon, 26 Jan 2015 01:16:56 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Mon, 26 Jan 2015 01:16:56 +0200
branch
scripting
changeset 921
e2e9f594de66
parent 855
e16f1587ef44
permissions
-rw-r--r--

- commit work done on scripting

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