project_files/hwc/rtl/CMakeLists.txt
author unc0rr
Thu, 04 Jun 2015 19:57:04 +0300
changeset 10984 c828cabe33af
parent 9254 d5f513019851
child 11659 71bdf987e41f
permissions -rw-r--r--
More ifdefs \o/ (fix build even more)
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
9201
bcf2f7798ebb redid FindGLEW in the right way (tm)
koda
parents: 8047
diff changeset
     2
include_directories(${GLEW_INCLUDE_DIR})
8004
da4c6db6ea6b correct includes and clang detection
koda
parents: 7999
diff changeset
     3
8047
25a4daa6473c cleanup headers, remove -I . from rtl lib to save a few warnings
koda
parents: 8029
diff changeset
     4
file(GLOB fpcrtl_src *.c)
25a4daa6473c cleanup headers, remove -I . from rtl lib to save a few warnings
koda
parents: 8029
diff changeset
     5
9254
d5f513019851 rtl always static
koda
parents: 9201
diff changeset
     6
add_library(fpcrtl STATIC ${fpcrtl_src})
7999
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
     7
8029
7ba43d7e54e7 cmake linking for engine in c
koda
parents: 8004
diff changeset
     8
#if(WEBGL)
7ba43d7e54e7 cmake linking for engine in c
koda
parents: 8004
diff changeset
     9
#    set_target_properties(fpcrtl PROPERTIES PREFIX "em")
7ba43d7e54e7 cmake linking for engine in c
koda
parents: 8004
diff changeset
    10
#    set_target_properties(fpcrtl PROPERTIES SUFFIX ".bc")
7ba43d7e54e7 cmake linking for engine in c
koda
parents: 8004
diff changeset
    11
#endif(WEBGL)
7999
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
bb503cd46516 add a few cmakefiles for c engine and rtl
koda
parents:
diff changeset
    14
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