project_files/hwc/rtl/CMakeLists.txt
author koda
Fri, 09 Nov 2012 22:56:34 +0100
branchwebgl
changeset 8004 da4c6db6ea6b
parent 7999 bb503cd46516
child 8029 7ba43d7e54e7
permissions -rw-r--r--
correct includes and clang detection
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7999
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
     1
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
     2
set(fpcrtl_src  fileio.c
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
     3
                misc.c
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
     4
                pmath.c
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
     5
                system.c
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
     6
                sysutils.c
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
     7
)
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
     8
8004
da4c6db6ea6b correct includes and clang detection
koda
parents: 7999
diff changeset
     9
include_directories(${GLEW_INCLUDE_PATH})
da4c6db6ea6b correct includes and clang detection
koda
parents: 7999
diff changeset
    10
7999
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    11
add_library(fpcrtl ${fpcrtl_src})
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    12
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    13
if(WEBGL)
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    14
    set_target_properties(fpcrtl PROPERTIES PREFIX "em")
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    15
    set_target_properties(fpcrtl PROPERTIES SUFFIX ".bc")
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    16
endif(WEBGL)
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    17
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    18
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    19
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    20
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    21