project_files/hwc/rtl/CMakeLists.txt
author koda
Fri, 09 Nov 2012 14:40:40 +0000
branchwebgl
changeset 7999 bb503cd46516
child 8004 da4c6db6ea6b
permissions -rw-r--r--
add a few cmakefiles for c engine and rtl
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
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
     9
add_library(fpcrtl ${fpcrtl_src})
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    10
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    11
if(WEBGL)
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    12
    set_target_properties(fpcrtl PROPERTIES PREFIX "em")
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    13
    set_target_properties(fpcrtl PROPERTIES SUFFIX ".bc")
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    14
endif(WEBGL)
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    15
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    16
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