project_files/hwc/rtl/CMakeLists.txt
author koda
Sun, 11 Nov 2012 17:52:49 +0100
branchwebgl
changeset 8029 7ba43d7e54e7
parent 8004 da4c6db6ea6b
child 8047 25a4daa6473c
permissions -rw-r--r--
cmake linking for engine in c
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
8029
7ba43d7e54e7 cmake linking for engine in c
koda
parents: 8004
diff changeset
    13
#if(WEBGL)
7ba43d7e54e7 cmake linking for engine in c
koda
parents: 8004
diff changeset
    14
#    set_target_properties(fpcrtl PROPERTIES PREFIX "em")
7ba43d7e54e7 cmake linking for engine in c
koda
parents: 8004
diff changeset
    15
#    set_target_properties(fpcrtl PROPERTIES SUFFIX ".bc")
7ba43d7e54e7 cmake linking for engine in c
koda
parents: 8004
diff changeset
    16
#endif(WEBGL)
7999
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