codegen/CMakeLists.txt

Sat, 21 Feb 2015 18:50:11 +0200

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Sat, 21 Feb 2015 18:50:11 +0200
changeset 926
e1ae2dbcae8e
parent 855
e16f1587ef44
permissions
-rw-r--r--

- relaced updaterevision.c with a python script
- add 'release' and 'debug' to .hgignore

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