codegen/CMakeLists.txt

branch
projects
changeset 935
8d98ee0dc917
parent 930
ab77deb851fa
parent 934
be8128aff739
child 936
aee883858c90
equal deleted inserted replaced
930:ab77deb851fa 935:8d98ee0dc917
1 cmake_minimum_required (VERSION 2.4)
2 add_executable (codegen codegen.cpp)
3
4 #
5 # LDForge uses alternative operators. GCC and Clang use these by default but MSVC does not.
6 # So we'll have to tell MSVC to use these alternative operators
7 #
8 if (MSVC)
9 set_target_properties (codegen PROPERTIES COMPILE_FLAGS "/Za")
10 endif()

mercurial