First public contribution.
1 # Copyright (c) 2012 Stéphane Lenclud.
3 # This component and the accompanying materials are made available
4 # under the terms of the License "Eclipse Public License v1.0"
5 # which accompanies this distribution, and is available
6 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 # Initial Contributors:
16 #-------------------------------------------------------------------
17 #Add this *.cmake file to our source tree
18 #-------------------------------------------------------------------
20 #Make sure all the output from all projects will go in one place
21 set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/../bin)
22 #Visual Studio IDE folders
23 source_group(Sources REGULAR_EXPRESSION ".+\\.cpp$")
24 source_group(Includes REGULAR_EXPRESSION ".+\\.h$")
25 source_group(Def REGULAR_EXPRESSION ".+\\.def$")
26 #-------------------------------------------------------------------
29 #-------------------------------------------------------------------
31 #-------------------------------------------------------------------
32 set (sourcepath ./win32/)
33 add_source(l_entry.cpp)
34 #-------------------------------------------------------------------
37 #-------------------------------------------------------------------
38 #Define our source and target
39 #-------------------------------------------------------------------
41 add_library (ekll STATIC ${source})
42 #-------------------------------------------------------------------
45 #-------------------------------------------------------------------
46 #Fix up include directories
47 #-------------------------------------------------------------------
48 system_include(/epoc32/include)
49 system_include(/epoc32/include/platform)
50 user_include(../include)
51 #-------------------------------------------------------------------
54 #-------------------------------------------------------------------
55 #Fix up compiler defines
56 #-------------------------------------------------------------------
57 #add_define(__MY_DEFINE__)
58 #-------------------------------------------------------------------