2007-01-08 13:24:37 +00:00
|
|
|
################################################################
|
|
|
|
# Name: BuildUnix.cmake
|
|
|
|
# Purpose: Build Unix binary on self
|
|
|
|
# Author: Cas Cremers
|
|
|
|
################################################################
|
|
|
|
|
|
|
|
# We call it linux, because that is what de-facto is the case.
|
|
|
|
|
|
|
|
message (STATUS "Building Linux version")
|
2007-05-18 13:06:29 +01:00
|
|
|
|
|
|
|
# Static where possible (i.e. only not on the APPLE)
|
2014-02-18 10:53:24 +00:00
|
|
|
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -static -m32")
|
2007-05-18 13:06:29 +01:00
|
|
|
|
2007-01-08 13:24:37 +00:00
|
|
|
set (scythername "scyther-linux")
|
|
|
|
add_executable (${scythername} ${Scyther_sources})
|
|
|
|
|