codegen/CMakeLists.txt

changeset 971
c00f9665a9f8
parent 970
c8aae45afd85
child 972
a34b73114823
equal deleted inserted replaced
970:c8aae45afd85 971:c00f9665a9f8
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